Java Data Objects

Java Data Objects

by Robin Roos, Robin M. Roos
     
 

ISBN-10: 0321123808

ISBN-13: 9780321123800

Pub. Date: 10/04/2002

Publisher: Pearson Education

Java Data Objects is a standardized Java API for object persistence. It facilitates the storage and retrieval of complex object models with various storage mechanisms, including both object and relational databases. Analysts agree that JDO's transparent persistence will accelerate software development and yield more flexible applications and object

Overview

Java Data Objects is a standardized Java API for object persistence. It facilitates the storage and retrieval of complex object models with various storage mechanisms, including both object and relational databases. Analysts agree that JDO's transparent persistence will accelerate software development and yield more flexible applications and object models.

According to Infoworld, "The JDO standard promises to be a winner for business leaders and corporate developers alike. Unifying data access—that is, using familiar Java constructs to access information housed in relational databases, object databases, file systems, or even flash RAM—means that corporate applications will experience an increase in usability, portability and integration".

This book is for Java developers, designers and architects with a good understanding of the Java language who wish to write applications that use JDO for persistence. Prior knowledge of JDBC and J2EE is not specifically required, but would help to accelerate the reader's understanding of JDO's relationship with these technologies.

The companion CD-ROM includes the following JDO implementations:FastObjects, Kodo JDO, LiDO and OpenFusion JDO.



Product Details

ISBN-13:
9780321123800
Publisher:
Pearson Education
Publication date:
10/04/2002
Pages:
244
Product dimensions:
7.36(w) x 9.44(h) x 0.58(d)

Table of Contents

Acknowledgements.
Foreword.
Preface.
What is JDO?
To Whom Will JDO be Important?
Who Should Read this Book?
Organization.
CD contents.
JDO Version Information.
About the Author.
About the Cover Illustration.
1. Understanding Object Persistence.
What is Object Persistence?
Current Techniques for Persistence.
Object Persistence with JDO.
JDO Positioning.
What's Next?

2. Developing a Simple Example.
Order Processing Domain.
Discussion.
Application Source Code.
What's Next?

3. JDO architecture.
JDO Implementations and Vendors.
JDO Instances.
JDO Environments.
Persistent vs. Transient.
Transactional vs. Non-Transactional.
Support for Transactional/Persistent Instances.
JDO Identity.
What's Next?

4. Instance Lifecycle.
Determining the State of an Instance.
Required Lifecycle States.
Required Lifecycle State Transitions.
Optional Lifecycle States.
Optional Lifecycle Transitions.
InstanceCallbacks.
What's Next?

5. Persistent Object Model.
Transparency.
JDO Instances.
First and Second Class Objects.
“Third-class” Objects—Arrays.
Type Restrictions for Persistent Fields.
Inheritance.
Interlude: Order Processing GUI.
What's Next?

6. Primary Interfaces and Classes.
JDOHelper.
JDO Properties Explained.
PersistenceManagerFactory.
PersistenceManager.
Extent.
PersistenceCapable.
What's Next?

7. Transaction Management.
Transactions.
Transaction Interface.
Transaction Strategies.
Advanced Transaction Options.
Transaction Modes to Improve Efficiency.
Synchronization with JDO Transactions.
What's Next?

8. Queries with JDOQL.
Query Architecture.
Constructing Queries.
Query Interface.
Query Examples.
Query Filter Expressions.
Further Examples.
Unconstrained Query Variables.
Dynamic Query Window.
What's Next?

9. JDO Exceptions.
JDO Exception Hierarchy.
Base Exception Classes.
Application Exceptions.
What's Next?

10. Persistence Descriptor.
XML Overview.
Naming the Persistence Descriptor.
Persistence Descriptor Elements.
Example—Persistence Descriptor “op.jdo” .
Facilities for Vendor-Specific Extensions.
Example—Deletion Semantics.
What's Next?

11. J2EE Integration.
The Managed Environment.
JLEE Overview.
Serialization of JDO Instances.
JDO vs. J2EE Transactions.
JDO Integration with EJB.
JDO Integration with Stateless Session Beans.
JDO Integration with Stateful Session Beans.
JDO Integration with Entity Beans.
JDO Integration with Message-driven Beans.
JDO Integration with the Web Tier.
Bootstrapping JDO in the Managed Environment.
What's Next?

12. JDO Implementations.
enJin™ by Versant.
FastObjects™ by Poet Software.
FrontierSuite for JDO™ by ObjectFrontier.
IntelliBO™ by Signsoft.
JDOGenie™ by Hemisphere Technologies.
JRelay™ by Object Industries.
Kodo JDO™ by SolarMetric.
LiDO™ by LIBeLIS.
OpenFusion JDO™ by PrismTechnologies.
Orient™ by Orient Technologies.
PE:J™ The Productivity Environment(tm) for Java by HYWY Software.

13. Epilogue.
Beyond JDO 1.0.
Sources of Further Information.

Appendix A. Properties for JDOHelper Bootstrap.
Appendix B. Strings for Supported Options.
Appendix C. JDO Persistence Descriptor DTD.
Appendix D. PersistenceManagerFactory.
Appendix E. JDOQL BNF.
Glossary.
Bibliography.
Index.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >