uCosminexus Application Server, Application Setup Guide

[Contents][Index][Back][Next]

7.1 Overview of creating J2EE applications

Creating a J2EE application refers to the process of using an Enterprise Bean (EJB-JAR) and servlet created in an application development environment and a JSP (WAR) to create a J2EE application (EAR). In a J2EE application, you can also include resource adapters that you want to use in that J2EE application.

The following table describes the operations required for creating a J2EE application.

Table 7-1 Operations to be executed for creating a J2EE application

Items to be executed Contents Reference
Importing the Enterprise Beans (EJB-JAR) Operation required when the Enterprise Beans (EJB-JAR) are included in the configuration of the J2EE application.
Import the Enterprise Beans into the J2EE server.
Section 7.2
Importing the servlet and JSP (WAR) Operations required when the servlets and JSPs (WAR) are included in the configuration of the J2EE application.
Import the servlets and JSPs into the J2EE server.
Section 7.3
Importing resource adapters (RAR files) When resource adapters (RAR) are included in J2EE applications, import the included resource adapters into the J2EE server. Section 7.4
Creating a new J2EE application Create an EAR file on the basis of the imported EJB-JAR and WAR files. Include RAR in J2EE applications as and when required. Section 7.5
Adding library JAR files to the J2EE application Add the library JAR files (file extension is the lower case .jar) to the J2EE application. Section 7.6
Referencing the list of library JAR files Reference the list of library JAR files included in the J2EE application. Section 7.7
Deleting the library JAR files from the J2EE application Delete the library JAR files included in the J2EE application. Section 7.8
Setting a reference library in the J2EE application Set the reference library in the J2EE application. Section 7.9
Property settings of J2EE applications Set the properties for the created J2EE application. Chapter 9
Executing J2EE applications Execute the J2EE application for which setup is complete. Terminate the applications based on the operations. Chapter 10

To create J2EE applications with cosminexus.xml, you include cosminexus.xml, created in advance, along with EJB-JAR and WAR files in J2EE applications, and then use.

The library JAR and reference library are common libraries and you can reference these libraries from each module of the J2EE application.

The library JAR and reference library have the following features: