Top
Interstage Studio User's Guide
FUJITSU Software

3.1.2 Developing EJBs

An overview of EJB development is given below.

Preparing for EJB Development

Before developing an EJB, an EJB project must be created. Create a project and set the required target runtime, classpath, and other project settings.
For details, refer to "3.3.1 Preparing the Environment to create EJBs".

Creating Enterprise Beans

Create enterprise beans using the Session Bean wizard or Message-Driven Bean wizard.
For details, refer to "3.3.2 Creating Session Beans" and "3.3.3 Creating Message-driven Beans".

Using Databases

Use the Java Persistence API to access databases from an enterprise bean.
For details, refer to "3.3.4 Using Databases".

Creating EJB Clients

Use the @EJB annotation as the EJB invocation method.
For details, refer to "3.3.5 Creating EJB Clients".

Checking EJB Operation

Use the Servers view to check the operation of the created enterprise bean application.
For details, refer to "3.3.6 Checking EJB Operation".

Deploying EJBs

The EJB must be archived in order for it to be deployed. Use the Export wizard to create an archive file.
For details, refer to "3.3.7 Distributing EJBs to the Operating Environment".