E.5. Non-Java serialization

The term ‘serialization,’ to a Java developer, probably brings to mind the standard serialization scheme implemented by the JVM and described in the preceding sections. However, the main problem with Java language serialization in the enterprise environment is that it is a Java language scheme. In general, the only kind of service that will be able to accept a serialized Java object as input is one that is implemented in Java. This is not good for interoperability.

So is Java serialization the only kind of serialization that is compatible with Java applications? Not at all: So long as both the producer and the consumer of the serialized object can agree on a format for its representation, then we can ‘serialize’ our ...

Get Applied Enterprise JavaBeans™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.