Deploying the Application

The shopping application requires EJB 2.0, because it uses a Home method. The source code on the CD-ROM includes deployment descriptors for deploying the application on BEA WebLogic 6.0. The EJB deployment is reasonably straightforward—the beans don't have any special security requirements or odd transaction boundaries.

The Web application does have one minor requirement: The Java Server Pages and servlets must be deployed as a Web application. Specifically, the Java Server Pages assume that the servlets are part of their application; they don't use the common /servlet/ prefix to reference a servlet. The benefit to this design is that the servlets don't need to know the complete path to the Java Server Pages; they can ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.