uCosminexus Application Server, Application Development Guide

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

6.1 Flow of testing J2EE applications

Deploy a created Eclipse project on a J2EE server, and then execute the J2EE application in the debug environment.

The following figure shows the flow of testing a J2EE application. Note that if the server is already created, you can skip step 2.

Figure 6-1 Flow of testing a J2EE application

[Figure]

The following is an overview of each procedure:

  1. Starting an embedded database
    When using an embedded database, start the embedded database with the short cut provided by Development Environment Instant Setup. For details, see 6.2 Starting and stopping an embedded database.
  2. Creating the server
    To operate the J2EE server with Eclipse, you must create configuration information such as the J2EE server name and runtime environment. This configuration information is called a server. You can operate the J2EE server with Eclipse by creating this server. For details, see 6.3 Creating a server.
  3. Changing the server configuration
    You can change the server configuration by using a server editor. For details, see 6.4 Changing the server configuration.
  4. Creating and setting up the user extended performance analysis trace setup file
    To use the trace based performance analysis to implement a performance analysis for the J2EE applications, create the user extended performance analysis trace setup file. For details, see 6.5 Creating and setting up the user extended performance analysis trace setup file.
  5. Starting the J2EE server
    Start a J2EE server in the debug mode. For details, see 6.6 Starting and stopping a J2EE server.
  6. Publishing projects on a J2EE server
    Publish (deploy) the J2EE applications developed with Eclipse projects on a J2EE server, and set up the applications in a state where you can perform debugging and testing. For details, see 6.7 Publishing a project on a J2EE server.
  7. Debugging and executing J2EE applications
    Perform debugging and execution of J2EE applications. For details, see 6.8 Debugging and executing J2EE applications.

The following sections describe how to test the J2EE application according to the flow.