1.3. Object persistence with JDO

JDO is different. Rather than providing the means for developers to write persistence infrastructure code that accesses a data store, JDO successfully eliminates the need for such development effort.

Developers first write the classes for which persistence services are required (the so-called persistence-capable classes) – typically this constitutes the domain object model. Then an eXtensible Markup Language (XML) document called the persistence descriptor is written. This text document, in its simplest form, merely identifies the names of the persistence-capable classes. An enhancement process is invoked which reads the XML descriptor, and adds into each nominated class the additional methods required for the ...

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.