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 Run > Build Main Project from the main menu or right-click the project and choose Build.

Number five
Deploy and run the application
  1. Right-click the enterprise application project and choose Run. Module projects are compiled, new and changed files are copied from module projects' build directories to the EAR's deployment directory. The EAR "client" is triggered (e.g., a web application opens in the browser).

    You can also right-click any of the application's module projects and choose Run to deploy the individual module without deploying other modules in the application.

Legal Notices