cmp2 : EJB 2.0 Container Managed Persistence

This example shows how to use new features of container managed persistence in EJB 2.0, like Entity Relationships and EJB-QL.

The code of the EJBs used in this example comes from the book "Enterprise JavaBeans(TM)" Third Edition by Richard Monson-Haefel
[O'REILLY edition ISBN 0-596-00226-2]

Examples Showing One to One Relationships:

Run the tests?

Examples Showing Many to One, One to Many, and Many to Many Relationships:

Run the tests?

Examples Showing EJB-QL:

Run the tests?