3.1 About the Process-Entity Design Pattern

The Process-Entity design pattern encapsulates a design solution that incorporates a single process object on the server machine that handles all client application interactions with database records, known as entities. This design pattern is appropriate in situations where a client CORBA or EJB application normally performs multiple interactions with a remote database.

By designing a single CORBA object or EJB on the server machine that represents all the fine-grained data in the database, you can build an Oracle Tuxedo CORBA client/server application that provides the following performance benefits:

  • Instead of having multiple client interactions with a database, you can have a single process object on the server machine that handles all client requests for database interactions, thus simplifying network traffic.
  • The process object can selectively pass data fields to the client, transferring only the necessary data rather than full database records, thus reducing the amount of data sent over the network and improving performance.
  • The process object encapsulates access to the database. Clients make invocations on the object, and the object in turn accesses the database.