O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

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

4.5. Assembling and deploying the EJB

This step consists of packaging the EJB class files, along with an XML deployment descriptor, into a JAR archive. It is perfectly possible to do these steps manually, using command-line tools or Ant build scripts. However, the tricky part for beginners is the construction of the XML file, which is not intuitive. Most EJB server vendors provide graphical utilities to package the files and create deployment descriptors, and I will assume that is how we will proceed here. When you gain more familiary with EJB development, you may find it quicker to use build scripts.

The J2EE Reference Implementation does not allow EJB-JAR files to be deployed directly (although the EJB Specification allows products to do this ...

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