Whether you only want to read up on an interesting new technology, or are seriously considering an alternative to JDBC or EJB CMP, you'll find that this book is essential. It provides by far the most authoritative and complete coverage available.
-
Chapter 1 An Initial Tour
-
Defining a Persistent Object Model
-
Project Build Environment
-
Establish a Datastore Connection and Transaction
-
Operations on Instances
-
Summary
-
-
Chapter 2 An Overview of JDO Interfaces
-
The javax.jdo Package
-
The javax.jdo.spi Package
-
Optional Features
-
-
Chapter 3 JDO Architectures
-
Architecture Within Application JVM
-
Datastore Access
-
System Architectures with a JDO Application
-
-
Chapter 4 Defining Persistent Classes
-
Kinds of Classes and Instances
-
Java Classes and Metadata
-
Fields
-
-
Chapter 5 Datastore Mappings
-
Mapping Approaches
-
Relational Modeling Constructs
-
Modeling Constructs in Java and Relational Models
-
Mapping Classes to Tables
-
Mapping a Single-Valued Field to a Column
-
Identity
-
Inheritance
-
References
-
Collections and Relationships
-
-
Chapter 6 Class Enhancement
-
Enhancement Approaches
-
Binary Compatibility
-
Enhancement Effects on Your Code
-
Changes Made by the Enhancer
-
-
Chapter 7 Establishing a JDO Runtime Environment
-
Configuring a PersistenceManagerFactory
-
Acquiring a PersistenceManager
-
Transactions
-
Multiple PersistenceManagers
-
Multithreading
-
-
Chapter 8 Instance Management
-
Persistence of Instances
-
Extent Access
-
Accessing and Updating Instances
-
Deleting Instances
-
-
Chapter 9 The JDO Query Language
-
Query Components
-
Creating and Initializing a Query
-
Changes in the Cache
-
Query Namespaces
-
Query Execution
-
The Query Filter
-
Ordering Query Results
-
Closing a Query
-
-
Chapter 10 Identity
-
Overview
-
Datastore Identity
-
Application Identity
-
Nondurable Identity
-
Identity Methods
-
Advanced Topics
-
-
Chapter 11 Lifecycle States and Transitions
-
Lifecycle States
-
State Interrogation
-
State Transitions
-
-
Chapter 12 Field Management
-
Transactional Fields
-
null Values
-
Retrieval of Fields
-
Serialization
-
Managing Fields During Lifecycle Events
-
First- and Second-Class Objects
-
-
Chapter 13 Cache Management
-
Explicit Management of Instances in the Cache
-
Cloning
-
Transient-Transactional Instances
-
Making a Persistent Instance Transient
-
-
Chapter 14 Nontransactional Access
-
Nontransactional Features
-
Reading Outside a Transaction
-
Persistent-Nontransactional State
-
Retaining Values at Transaction Commit
-
Restoring Values at Transaction Rollback
-
Modifying Persistent Instances Outside a Transaction
-
-
Chapter 15 Optimistic Transactions
-
Verification at Commit
-
Optimistic Transaction State Transitions
-
Deleting Instances
-
Making Instances Transactional
-
Modifying Instances
-
Commit
-
Rollback
-
-
Chapter 16 The Web-Server Environment
-
Web Servers
-
Struts with JDO
-
-
Chapter 17 J2EE Application Servers
-
Enterprise JavaBeans Architecture
-
Stateless Session Beans
-
Bean-Managed Transactions
-
Message-Driven Beans
-
Persistent Entities and JDO
-
-
Appendix A Lifecycle States and Transitions
-
Appendix B JDO Metadata DTD
-
Appendix C JDO Interfaces and Exception Classes
-
Interfaces
-
Exceptions
-
-
Appendix D JDO Query Language BNF
-
Parameter Declaration
-
Variable Declaration
-
Import Declaration
-
Ordering Specification
-
Type Specification
-
Names
-
Literal
-
Filter Expressions
-
-
Appendix E Source Code for Examples
-
The com.mediamania.appserver package
-
The com.mediamania.content package
-
The com.mediamania.hotcache package
-
The com.mediamania.store package
-
-
Colophon
- Title:
- Java Data Objects
- By:
- David Jordan, Craig Russell
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- April 2003
- Pages:
- 384
- Print ISBN:
- 978-0-596-00276-3
- | ISBN 10:
- 0-596-00276-9
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java Data Objects is a bilby (Macrotis lagotis), also known as a ninu, dalgyte, pinky, or rabbit-eared bandicoot. Bilbies are rabbit-sized marsupials with silky, blue-gray fur; long, pointed snouts; large, rabbit-like ears; and long, black tails with white tips. This strange combination of traits may appear awkward, but its delicate and cute features have actually made the bilby one of Australia's most attractive and celebrated mammals. For many Australians, the Easter Bilby has even replaced the rabbit as the popular Easter icon.
Bilbies have adapted well to the hot, arid climates they now habitate. Their long, slender tongues help them eat a diet of seeds, insects, bulbs, fruit, and fungi. Bilbies have well-developed forearms and long claws, which they use to dig the deep, spiralling burrows in which they live. Bilbies are strictly nocturnal, and during the day they plug the entrances to their holes with soil to protect them from extreme temperatures. Because bilbies are solitary animals, burrows usually have a single opening and a single occupant, though females often live with their young. Like other marsupials, females have a backward-opening pouch with eight teats, used to carry and protect their young for about 80 days. Bilbies usually have no more than two young at a time.
Once common throughout Australia, disease, agriculture clearing, spreading of the fox and feral cat, and the control campaign against the destructive rabbit (which was often unfairly grouped with the innocent bilby it resembles) have limited bilbies' habitats to isolated populations in Western Australia, the Northern Territory, and southwestern Queensland. Bilbies are now listed as endangered species by many Australian and international conservation groups. Brian Sawyer was the production editor and copyeditor for Java Data Objects. Colleen Gorman was the proofreader. Genevieve d'Entremont and Claire Cloutier provided quality control. David Jordan and Craig Russell wrote the index, with the assistance of Reg Aubry.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from Animate Creation, Vol. II. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
David Futato designed the interior layout. Andrew Savikas prepared this book in FrameMaker 5.5.6. The text font is Linotype Birka, and the heading font is Adobe Myriad Condensed. The code font is a modified version of LucasFont's TheSans Mono Condensed, designed by Luc(as) de Groot with modifications suggested by David Jordan. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Brian Sawyer.
