1.3.2 Flow of J2EE application management
The flow of J2EE application management is as follows:
-
Importing the file
-
Creating the J2EE application#
-
Defining the J2EE application properties
-
Starting and stopping the J2EE application
-
Exporting the J2EE application
- #
-
Do not execute this step in the case of J2EE applications that have already been created and set up by using the application development tool.
The following table describes the operations required for J2EE application management. You execute the operations in the order of the numbers mentioned in the Procedures column:
Procedures |
New J2EE application to be created |
Already created J2EE application#1 |
||
---|---|---|---|---|
Archive format |
Exploded archive format |
|||
1. |
Importing the file |
Y#2 |
Y |
Y |
2. |
Creating the J2EE application |
Y |
--#3 |
-- |
3. |
Defining J2EE application properties |
Y |
Y |
Y#4 |
4. |
Starting and stopping the J2EE application |
Y |
Y |
Y |
5. |
Exporting the J2EE application |
Y |
Y |
Y |
- Legend:
-
Y: Yes
--: Not applicable
- #1
-
This J2EE application is already created with an application development tool. The method of importing a J2EE application depends on the J2EE application format:
-
When setting up a J2EE application in the archive format, specify the archive file path and import the J2EE application.
-
When setting up a J2EE application in the exploded archive format, specify the application directory path or the exploded directory path and import the J2EE application.
-
- #2
-
Import the following files for each component configuration:
-
When creating a J2EE application that includes a servlet or JSP, import the servlet or JSP.
-
When creating a J2EE application that includes an Enterprise Bean, import the Enterprise Bean.
-
When creating a J2EE application that includes a resource adapter, import the resource adapter.
-
- #3
-
In the created J2EE application in the archive format, you can add or delete the components or the library JAR.
- #4
-
In the case of J2EE applications that are in the exploded archive format and are running on a host that is different from the host that executes the server management commands, you cannot set up or customize the J2EE application.
Each procedure is described below:
-
Importing the file
You import the components (servlets or JSPs, Enterprise Beans, resource adapters, and library JAR) that form the J2EE application or the created J2EE application.
-
Creating the J2EE application
You create the J2EE application with the imported file.
-
Defining J2EE application properties
Specify the property according to the components that configure J2EE applications, for the created J2EE application or imported and created J2EE applications.
-
Define properties corresponding to the DD statement
-
Set up the runtime properties and operations
-
Resolve J2EE resource references
-
-
Starting and stopping the J2EE application
You start the J2EE applications for which setup and customization is complete. Also, you stop applications as required by the operations.
-
Exporting the J2EE application
You export applications as required by the operations.