JAVA DATA OBJECTS
About This Course
Course Overview :
Java Data Objects (JDO) is a specification of Java object persistence. One of its features is a transparency of the persistence services to the domain model. JDO persistent objects are ordinary Java programming language classes (POJOs); there is no requirement for them to implement certain interfaces or extend from special classes.Object persistence is defined in the external XML metafiles, which may have vendor-specific extensions. JDO vendors provide developers with enhancers, which modify compiled Java class files so they can be transparently persisted. (Note that byte-code enhancement is not mandated by the JDO specification, although it is the commonly used mechanism for implementing the JDO specification’s requirements.) Currently, JDO vendors offer several options for persistence, e.g. to RDBMS, to OODB, or to files.
Prerequisties
Course Content
- Overview of JDO
- The need for JDO
- JDO architecture
- Overview of JDO development process
- Writing your first JDO application
- Defining Persistent Classes
- Building your data model
- Defining persistent Java classes
- Supported data types
- Collection field type
- Java classes and JDO metadata
- Class enhancement
- Datastore Mappings
- Overview of the mapping approaches
- O/R mapping
- Identity and primary key column
- Mapping for inheritance
- Mappings for references
- Collections and relationships
- JDO Query Language
- JDO query components
- Creating and initializing a query
- Executing a query
- Filtering and ordering query results
- Developing JDO Applications
- Configuring PersistenceManagerFactory
- Acquiring a PersistenceManager
- Multithreading
- Instance management
- Field management
- Cache management
- Lifecycle states and transitions
- Handling identity
- JDO Transaction Support
- Nontransactional access
- Optimistic transactions
- Modifying and deleting instances
- Commit and rollback
- JDO and J2EE
- J2EE persistence options
- CMP or JDO
- JDO transaction handling in J2EE containers
- Best practice in using JDO with J2EE