Home > Store > Programming > Java

larger cover

Add To My Wish List

Core Java Data Objects

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Reviews
  • Sample Content

Product Author Bios

SAMEER TYAGI is Enterprise Java Architect at Sun Microsystems' Java Center in Burlington, MA. He co-authored Professional JSP, Professional JSP-J2EE Edition, and Professional Java Server Programming-J2EE Edition, and writes regularly for Java Pro, JavaWorld, and Java Developers Journal.

MICHAEL VORBURGER is Chief Software Architect for Vertical*I, a firm providing enterprise software solutions to the life sciences industries. He has implemented large-scale persistence systems inspired by the JDO standard.

KEIRON MCCAMMON, CTO, Versant Corporation, responsible for product strategy and direction, has worked with finance and telecom customers to develop and deploy large scale Java/J2EE distributed object solutions. A member of the JDO expert group, he presents regularly on JDO at leading events.

HEIKO BOBZIN, also a member of the JDO expert group, led JDO and ODMG 3.0 implementation at Poet Software.

The experienced Java developer's guide to persistence with JDO!

Master JDO, the breakthrough technology for persistenting Java objects!

Java Data Objects (JDO) streamlines development by providing Java-centric mechanisms for making objects persistent, and standard APIs for connecting application code with underlying persistent datastores. Core Java Data Objects is the definitive, comprehensive guide to JDO persistence for every experienced Java developer.

Using realistic code examples, this book's expert authors cover creating, reading, updating, and deleting persistent objects; object lifecycles and state transitions; JDO classes and APIs; queries, architecture, security, and much more. They show how to integrate JDO with EJB, JTA, JCA, and other J2EE technologies; and introduce best practices for using JDO in both standalone programs and J2EE components.

If you want to spend more time solving business problems and less time worrying about persistence, you need JDO. And you need the one book that'll help you make the most of JDO: Core Java Data Objects.

Every Core Series book:

  • DEMONSTRATES how to write commercial quality code
  • FEATURES nontrivial programs and examples--no toy code!
  • FOCUSES on the features and functions most important to real developers
  • PROVIDES objective, unbiased coverage of cutting-edge technologies -- no hype!

Core Java Data Objects delivers:

  • Practical examples showing how JDO can be applied to existing applications
  • Powerful insights for using JDO to architect new systems more effectively
  • Step-by-step guidance for integrating JDO with other J2EE technologies
  • Best practices for using JDO in real-world business environments

Customer Reviews

7 of 8 people found the following review helpful
3.0 out of 5 stars Could have been better, December 15, 2003
By 
Thomas Paul (Plainview, NY USA) - See all my reviews
(VINE VOICE)    (REAL NAME)   
This review is from: Core Java Data Objects (Paperback)
Java Data Objects (JDO) is an alternative to JDBC that allows you to treat rows from a database as Java objects. The simplicity of JDO removes many of the complications involved with developing JDBC applications. This book does a decent job of covering the JDO specification and explaining how to properly use JDO. The book starts with an introduction to JDO and shows some examples of how to write code with JDO. The section on the object lifecycle isn't clearly explained having too much concentration on lists and not enough on explanations. The following chapters do a decent job of explaining the pieces of JDO. In addition to the basics, the book covers using JDO in a J2EE environment with a look at Enterprise JavaBeans, security, and transactions. A later chapter shows a comparison of JDO and JDBC. The authors wrap up with some tips, take a look at what might be coming in the future, and show a case study.

The authors do not look at any JDO implementations, which leaves their... Read more

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful
4.0 out of 5 stars Good JDO Overview, August 29, 2004
This review is from: Core Java Data Objects (Paperback)
Java Data Objects (JDO) is a persistence framework to save Java objects to a datastore. The example code shows you how to create, read, update, and delete a persistent object using the JDO API. The book goes through the JDP API, especially the five main interfaces needed. The metadata, an xml file, that is needed for JDO is make clear in one chapter and the various options in the JDO xml file are explained to show you how to store your type of objects. The explanation of first-class and second-class object could have been longer. It seems like a more important topic and the brief mention in the book.

Part of the book shows you how to develop applications with JDO and the architecture scenarios where you should or should not use JDO. The third part of the book covers using JDO and J2EE application. The authors argue that JDO in most situations offers a better solution over EJB entity beans to store your objects or to use JDO and some direct JDBC. Practical examples... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful
4.0 out of 5 stars Don�t drop your JDBC yet!, November 4, 2003
By 
Suresh Chanmugam (Ontario Canada) - See all my reviews
(REAL NAME)   
This review is from: Core Java Data Objects (Paperback)
A good presentation for both architects and programmers, about JDO. The author explains the issues with Object oriented programs and relational databases then goes to show how JDO attempts to solve this mismatch (otherwise know as object relational impedance mismatch) Note from this book you will find that JDO is a standard to be implemented by vendors so that developers need not know varying interfaces object relational mapping frame works. JDO also has its own query language, which is not as powerful as SQL especially if you have complex joins or aggregation (OLAP) so, don't drop your JDBC yet! Well written with little fluff. It's not a O'rilly style code code book, it has the write amount of theory and code mix
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 5 customer reviews...

Online Sample Chapter

Getting Started with JDO

Table of Contents



Foreword.


Preface.


Acknowledgments.

I. INTRODUCTION.

1. JDO Overview.

JDO Background. Domain Object Model. Orthogonal Persistence. Non-Managed and Managed Environments. Roles and Responsibilities. Summary.

2. Object Persistence Fundamentals.

Persistence in Applications. JDK Binary Serialization. Object-Relational Mapping. Rolling Your Own Persistence Mapping Layer. Conclusion.

II. THE DETAILS.

3. Getting Started with JDO.

How Does JDO Work? The JDO Basics. Defining a Class. Connecting to a Datastore. Creating an Object. Reading an Object. Updating an Object. Deleting an Object. JDO Object Model. Exception Handling. Object Identity. Types of Object Identity. Object Lifecycles. Concurrency Control. Summary.

4. Object Lifecycle.

A Persistent Object's Lifecycle. Finding Out about an Object's State. Operations That Change State. Callbacks. Optional States. Putting It All Together. Summary.

5. Developing with JDO.

JDO Concepts. JDO Interfaces and Classes. Basic APIs. Exception Classes. Additional APIs. Service Provider Interface APIs. Summary.

6. Finding Your Data.

Finding an Object by Identity. Finding a Set of Objects Using an Extent. Finding Objects with the Query Facility. JDOQL. Queries, Filters, and Optional parameters. More on the Query Interface. Summary.

7. Architecture Scenarios.

JDO versus JDBC. RDBMS, ODBMS, and Flatfiles. J2EE, RMI, and CORBA. Managed and Non-Managed Environments. Multi-Threaded Applications. Summary.

III. J2EE.

8. JDO and the J2EE Connector Architecture.

J2EE Connector Architecture Overview. JDO and the J2EE Connector Architecture. Using JDO and the J2EE Connector Architecture. Using JDO without the J2EE Connector Architecture. Summary.

9. JDO and Enterprise JavaBeans.

Introduction. Session Beans and JDO. Message-Driven Beans and JDO. Entity Beans and JDO. To Use EJB or Not to Use EJB? Summary.

10. Security.

Security Levels. Implementing PersistenceCapable. Application Security. Summary.

11. Transactions.

Transaction Concepts. Transactions in Java. Transactions in JDO. Summary.

IV. THE CONCLUSION.

12. JDO and JDBC.

JDBC 2.0 and 3.0. Example: Storing Objects in a Relational Database Using JDBC. Comparison of JDBC and JDO. Summary.

13. Tips, Tricks and Best Practices.

Data Modeling. JDO and Servlets. Keep Domain Classes Separate from Others. Using XML as a Data Exchange Format. Validation. Summary.

14. The Road Ahead.

Advanced Transaction Semantics. Performance Optimizations. Managed Relationships. Query Enhancements. Object Mapping. Enumeration Pattern. Summary.

15. Case Study: The Core JDO Library.

Files, Packages and Object Model. Persistent Model Package. Use-case Package. BookOperation Class. Putting Things Together.

Appendix A: JDO States.

Appendix B: XML Metadata.

Appendix C: JDOQL BNF Notation.

Appendix D: PersistenceManager Factory Quick Reference.

Appendix E: JDO Implementations.

Index.

Downloadable Sample Chapter

Untitled Document Download the Sample Chapter related to this title.

 
Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.