Mastering Java Data Objects (JDO)
|
|
Duration:
3 days
|
|
|
This course is built for experienced Java developers, architects, and
designers.
-
Developers
-
Designers
-
Architects
-
Consultants
| |
Audience should know Java
|
|
|
Description
|
JDO provides transparent persistence of your Java object models in
transactional datastores. This course covers all aspects of using JDO in
developing Java persistence applications.
This is a highly hands-on course. At least 60% of the time will be
devoted to labs. By default, this course uses Sun's Reference
Implementation for the labs. A customer may request a particular JDO
implementation.
|
|
Objectives
|
Upon completion, students will be able to:
-
Understand JDO architecture
-
Write Java persistence classes for JDO
-
Write mapping files
-
Write queries using the JDO query language
-
Develop JDO applications with transactions
-
Understand the best practices in using JDO for J2EE applications
|
|
Course Outline
|
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
|
|