Java Data Objects

Java Data Objects

by David Jordan (Author), Craig Russell (Author), David Jordan (Author), Craig Russell (Author), Craig Russell (Author)

Synopsis

"Java Data Objects" aims to revolutionize the way Java developers interact with databases and other datastores. It allows you to store and retrieve objects in a way that's natural toJava programmers. Instead of working with JDBC or EJB's container-managed persistence, you work directly with your Java objects. You don't have to copy data to and from database tables or issue SELECTs to perform queries: your JDO implementation takes care of persistence behind-the-scenes, and you make queries based on the fields of your Java objects, using normal Java syntax. The result is software that is truly object-oriented: not code that is partially object-oriented, with a large database-shaped lump on the back end. JDO lets you save plain, ordinary Java objects, and does not force you to use different data models and types for dealing with storage. As a result, your code becomes easier to maintain, easier to re-use, and easier to test. And you're not tied to a specific database vendor: your JDO code is entirely database-independent. You don't even need to know whether the datastore is a relational database, an object database, or just a set of files. The book offers a thorough introduction to JDO, starting with a simple application that demonstrates many of JDO's capabilities. It shows you how to make classes persistent, how JDO maps persistent classes to the database, how to configure JDO at runtime, how to perform transactions, and how to make queries. More advanced chapters cover optional features such as nontransactional access and optimistic transactions. The book concludes by discussing the use of JDO in web applications and J2EE environments.

$3.27

Save:$37.06 (92%)

Quantity

1 in stock

More Information

Format: Illustrated
Pages: 382
Edition: 1
Publisher: O'Reilly Media
Published: 22 Apr 2003

ISBN 10: 0596002769
ISBN 13: 9780596002763

Author Bio
David Jordan has been involved in transparent persistence technologies since 1985. He instigated the development of the first C++ object database while at Bell Labs and has been a member of the JDO expert group since its inception. He is recognized in the JDO specification for his contributions to the technology. Craig Russell is the specification lead for JDO at Sun Microsystems. He is also responsible for overall development of JDO Reference Implementation. Prior to Sun he was an architect at Versant, an object database company supporting transparent persistence.