O'Reilly logo

Java™ Data Objects by Robin M. Roos

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required