O'Reilly logo

J2EE™ Tutorial, The by Beth Stearns, Monica Pawlan, Eric Jendrock, Kim Haase, Dale Green, Stephanie Bodoff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

deploytool Tips for Entity Beans with Container-Managed Persistence

Chapter 2 covered the basic steps for building and packaging enterprise beans. This section highlights the tasks in deploytool that are needed for entity beans with container-managed persistence. The examples referenced in this section are from A Guided Tour of the RosterApp Settings (page 128).

Specifying the Bean’s Type

In the New Enterprise Bean wizard, specify the bean’s type and persistent management.

1.
In the Edit Contents dialog box, add all of the classes required by the entity bean and by its related beans.
2.
In the General dialog box, select the Entity radio button.
3.
In the General dialog box, specify the local interfaces of the entity bean. (If the bean also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required