5/7 - Object serialization in Java (saving any Object in Java to a file)

preview_player
Показать описание
Series on persistence in Java using files. Focus on difference between text files, binary formats and richer text files such as CSV.

Playlist:

1/7 - What are files
Explains what files are and how file types are different and what they look like in binary, what encoding is and the difference between the file contents and how it is shown

2/7 - Using Java IO - Simple
Simple examples og reading and writing text files in Java.

3/7 - Using Java IO with buffers
Adding the buffered reader and writer to java io filereader/filewriter.

4/7 - Using Java nio

5/7 - Object serialization in Java (saving any Object in Java to a file)
How to save an entire object into a binary file, very easy, but with many drawbacks.

6/7 - Writing random access binary files directly on disk
How to design, write and maintain object hierarchies in binary format.

7/7 - Exception handling in Java - Graceful handling
Looking at different types of exceptions and how to create your own, along with advice on best practice.
Рекомендации по теме