Chapter 6. Serialization

JBoss Remoting allows for the plugging in of custom serialization implementations. This is available via the org.jboss.remoting.serialization.SerializationStreamFactory class, which will provide the implementation as a org.jboss.remoting.serialization.SerializationManager . The SerializationManager can then be called on to get implementations for java.io.ObjectInputStream and java.io.ObjectOutputStream . This SerializationManager is used by most of the standard remoting marshallers and unmarshallers. There are currently two implementations of the SerializationManager; one for the standard java serialization, which is the default, and one for JBoss Serialization.

JBoss Serialization is a new project under development to provide a more performant implementation of object serialization. It complies with java serialization standard with three exceptions:

- SerialUID not needed

- java.io.Serializable is not required

- different protocol

JBoss Serialization requires JDK 1.5.