O'Reilly logo

Sams Teach Yourself J2EE™ in 21 Days by Peter Roxburgh, Andy Longshaw, Debbie Law, Dan Haywood, Martin Bond

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

Deploying a CMP Entity Bean

The enterprise application can be deployed either from the command line (deploy script in the build directory) or using deploytool itself.

However, before an enterprise application containing CMP Entity beans can be deployed, the default SQL must be generated by using the Deployment Settings dialog box. This is performed once for each CMP Entity bean, as shown in Figure 7.13.

Figure 7.13. deploytool allows SQL to create the database schema to be generated.

You can see from the figure that J2EE RI generates default SQL. It allows the SQL query for the finder and select methods to be tuned, and also (the container methods ...

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