Chapter 6. All About Deployment


As you saw in Part I, “Fundamental EJB,” EJBs contain many fewer lines of Java code than their J2SE brethren do. This dramatic reduction in source lines of code (SLOC) is caused by the presence of deployment descriptors, which use XML to describe much of the structural and behavioral information formerly manifested as lines of Java code.

BookEaz’s system was implemented atop the Sun Reference Server, which includes DeployTool, a GUI tool for creating deployment descriptors. DeployTool uses a series of dialog boxes to conduct an “interview,” and the results are written into a set of files that compose a deployment descriptor.

DeployTool makes it relatively easy to construct a deployment ...

Get EJB™ 2.1 Kick Start now with the O’Reilly learning platform.

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