Deploying a CMP Entity EJB Using J2EE RI

You should be familiar with deployment by now. The sources for today's examples are in the Day07/examples directory on the accompanying Web site. You can follow the steps for building the EJB example and generate a new EAR file using deploytool, or you can simply build and deploy the completed examples from the command line using the command:

asant build deploy

If you want to follow today's example to learn how to deploy an EJB using deploytool, start deploytool and open the file Day07/examples/j2ee-ri/agency.ear.

Before you can build a CMP Entity bean with J2EE RI you must capture the database schema as discussed in the next section.

NOTE

The J2EE RI is a reduced functionality version of the Sun Java ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.