Posts Tagged ‘Java Serialization’

Inside Implementing & Customizing Serialization in Java

Sunday, July 12, 2009 16:35 1 Comment

Implementing serialization in Java is pretty straight forward just a little step task. The class you want to be serialized just have to implements a marker Interface Serializable no override nothing extra work.
The JVM will take care of serialization and deserialization process automatically. Now you can write your object to any persistent technology e.g. database, [...]

This was posted under category: Articles, Java Tags: , , , ,

Java Object Serialization by using Java I/O Streams

Monday, August 4, 2008 12:12 No Comments

The task is to store different objects of classes in a physically located file on hard disk. For this to store objects and their states (including the values of their data members) we have to make those classes serializeable. Use Standard Java I/O streams FileOutputStream, ObjectOutputStream to write/store to file and FileInputStream, ObjectInputStream streams to [...]

This was posted under category: Java Tags: , ,