If all EJB let you do was talk to transient objects, it wouldn't have much use. Of course, EJB lets you do a lot more—including talking to databases.
You'll see now how to use container-managed persistence (CMP) to get at your data for customers and addresses using the JAWS CMP feature of JBoss.
JAWS is the JBoss implementation of container-managed persistence. Each vendor has its own technologies under development for CMP (it's still a new concept, and the standards are in a state of flux).
Setting up JAWS is just a matter of editing a few configuration files. The configuration files that you will need to alter are in the conf\default subdirectory of JBoss. The first, called jboss.jcml, is used to define the ...