Building the Java Client Sample Application EAR file

This section describes the decisions and steps taken to build and package the Java(TM) Client Sample Application code and resources as an enterprise application that conforms to the J2EE specification.

An EAR file contains the hierarchy of resources required to deploy an enterprise application. It can contain a combination of Web modules, EJB modules, JAR files, and application client modules. The Java Client Sample application employs to BTTJavaSample.ear.

The BTTJavaSample.ear contains one client module (BTTJavaSampleClient), four EJB modules (BTTJavaSampleEJB.jar, BTTCHAEJB.jar, BTTFormatterEJB.jar and BTTsvcinfra.jar), three web modules (BTTJavaSampleWeb.war, BTTServicesInfraWeb.war and BTTCHAWeb.war), and one module for users to define their own classes (BTTJavaSampleUserDEfinedClass.jar). Inovkers are in BTTJavaSampleWeb and business logic is in BTTJavaSampleEJB.

To create the EAR file for the Java Client Sample Application, there are a number of decisions that were made. These decisions involved: