Working with Enterprise Applications

The following table shows how to work with enterprise applications.
Number one
Create the application and module projects
  1. Register an application server.
  2. Create the project for the enterprise application.

Number two
Code the modules
  1. Create web components in the web application modules.
  2. Create new session beans and message-driven beans.
  3. Generate entity classes or entity beans from existing database tables or use the Database Explorer to create database tables.
  4. Call enterprise beans from web application modules and other enterprise beans.
  5. Use server resources like databases and JMS messages.

Number three
Configure the application
  1. Edit the enteprise application's .
  2. Select libraries and other external resources to bundle with the EAR file.
  3. Set runtime options such as the application's default web page and target application server.

Number four
Build the project
  1. Choose Build > Build Main Project or right-click the project and choose Build Project.

Number five
Deploy the application
  1. Right-click the enterprise application project and choose Run Project to start the target application server and domain, undeploy the enterprise application if it is already deployed, deploy the enterprise application to the target application server and domain, and display it in the IDE's default browser.
  2. Right-click the enterprise application project and choose Deploy Project to start the target application server and domain and deploy the enterprise application to it.
  3. Right-click any of the application's module projects and choose Run Project to deploy the module without deploying the other modules in the application.

Legal Notices