Packaging and Deploying the Simple Web Service Using J2EE RI deploytool

This section shows how to deploy the simple Web Service to the J2EE RI. The packaging and deployment of this SAAJ servlet is similar to any other J2EE servlet.

As usual, start up the PointBase database server and J2EE RI server before starting deploytool.

By choosing File, Open, load up the Day21/examples/j2ee-ri/agency.ear enterprise application archive. This defines a single group of Entity beans called Entity. The contents of the enterprise archive have already been partially configured to contain the appropriate code and configuration for the entity beans. Highlight the Agency application in the explorer on the left side of the deploytool GUI and its contents will be ...

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.