Sun Microsystems Logo

 

 
 

Sun[tm] ONE Studio 4, Enterprise Edition for Java[tm] with Application Server 7 Tutorial
Assembling the J2EE[tm] Application
PREV PREV NEXT

 

You have created the EJB[tm] module and web module so far. You will now create a J2EE application that will be deployed to the application server.

To create the J2EE Application:

1. Right-click the mysimple/src filesystem select New -> J2EE -> Application.

The New Wizard is displayed.

2. Type jdbcSimpleApp in the Name field.

3. Click Finish.

4. Right-click the jdbcSimpleApp J2EE application node and select Add Module....

The Add Module to Application browser is displayed.

5. Using the Control key, select both the jdbcSimpleEjb node under the mysimple/src filesystem and the WEB-INF node under the mysimple/src/jdbcSimpleWeb filesystem.

6. Click OK.

If you expand the jdbcSimpleApp application node, the two modules are listed:

7. In the IDE's menu bar, select File -> Save All.

Before exercising the application, you need to configure the database connectivity for the application. Proceed to Setting Up Database Connectivity.

PREV PREV NEXT