3.3.2 Request Flow in EJB Applications

The following figure illustrates the basic design of the Process-Entity design pattern in an EJB application.

Figure 3-2 EJB Process-Entity Design Pattern

Describes the EJB Process-Entity Design Pattern

This process flows in the following sequence:

  1. The client application issues a request to the entity bean, using RMI on IIOP, to access database entities.
  2. The entity bean submits a request to the database.
  3. The database returns a response to the entity bean.
  4. The entity bean returns a response to the client that contains only the subset of database information that the client requires.