11.3. Serialization of JDO instances

J2EE components communicate with their clients (actual clients or other J2EE components) using RMI. To improve interoperability, most application servers channel their RMI calls over the IIOP protocol. RMI facilitates the passing of objects by value through serialization. This technique is widely employed by middle-tier Java designers, and is likely to be applied to persistence-capable objects. This section examines the serialization of persistent instances.

The serialization process can be invoked explicitly on any object implementing the Serializable interface. However, it is more common for it to occur implicitly, as happens whenever a Serializable object is included as an argument to or return value from ...

Get Java™ Data Objects 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.