Restriction: This topic applies only when the Enterprise Server feature is enabled.
The EJB is generated automatically when you deploy your service interface and generate clients.
The generated EJB and optional client are packaged into archive files (.jar,
.war and
.ear), together with manifest files and deployment descriptors. These files are located in the directory structure under
myservice/repos/myservice.deploy. The following archive files are created:
- myservice.jar, which contains the EJB classes and other files.
- myservice.war, which contains the client JSP and other files.
- myservice.ear, which contains the
.jar file and the client
.war file among others. This
.ear file contains everything to deploy the EJB to the supported third party application servers, without further changes. For other application servers, you need to create deployment descriptors, and this is described later.
You can view the contents of these archive files using the jar command or through a zip utility such as Winzip.