File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Getting started with EJB CMP CMR and EJB QL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting started with EJB CMP CMR and EJB QL" Watch "Getting started with EJB CMP CMR and EJB QL" New topic

Getting started with EJB CMP CMR and EJB QL

Rick Hightower
Ranch Hand

Joined: Feb 20, 2002
Posts: 350
Container-managed persistence and relationships allow you to build components to the EJB 2.0 specification that can save the state of your EJBs to any J2EE supporting application server and database without having to create your own low-level JDBC-based persistence system. It also provides a unified way to support persistent fields and variables within entity beans. This two-part introductory tutorial explains all about CMP/CMR.
EJB QL provides the ability to query the container-managed persistent store for EJB objects without the need to learn or make database specific calls. EJB QL provides a subset of SQL and adds support for traversing relationships between entities and working with collection-based CMP fields.

Introduction to container-managed persistence and relationships, Part 4 This tutorial completes Rick Hightower's series on container-managed persistence and relationships in EJB 2.x with a focus on EJB Query Language. This piece details advanced finder methods and more complex EJB-QL queries.

Simplify EJB CMP CMR dev with XDoclet
Part 1
Part 2
Part 3
Part 4
Tech Library

Rick Hightower is CTO of Mammatus which focuses on Cloud Computing, EC2, etc. Rick is invovled in Java CDI and Java EE as well. linkedin,twitter,blog
I agree. Here's the link:
subject: Getting started with EJB CMP CMR and EJB QL
jQuery in Action, 3rd edition