Chapter 6 Generating JDO Persistent Objects
Java Data Objects (JDO) is a standard transparent persistence management API for Java programs. It is developed as Java Specification Request by the Java Community Process. Application programmers can use JDO to directly store their Java domain model object instances into persistent stores like relational database, object database or files.
JDO provides transparent persistence management. It means that a Java developer does not need to write any code for managing the persistence of business objects.
To define persistent objects for JDO :
To use JDO persistent objects:
JDO 1.0 does not define a standard way of defining O/R mapping. Each JDO implementation uses a different O/R mapping format. Most of the products offer limited O/R mapping possibilities.
JDO supports inheritance and navigation between objects.
JDO and Entity Bean are complementary. If you plan to use persistent objects locally without an application server or if you always access data through Session Beans, it is better to use JDO. If you need to use remote persistent objects or need better security support, you should use Entity Beans.
There are several commercial implementations of JDO:
There are also several open source projects:
You can find more information on the web sites http://www.jdocentral.com , http://java.sun.com/products/jdo/ .
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |