EJB.13.2 Client-Side Objects in Distributed Environment


When the RMI-IIOP protocol or similar distribution protocols are used, the client communicates with the enterprise bean using stubs for the server-side objects (Figure EJB.13-1). The stubs implement the home and remote interfaces.

Figure EJB.13-1. Location of EJB Client Stubs

The communication stubs used on the client side are artifacts generated at enterprise bean's deployment time by the EJB container provider tools. The stubs used on the client are standard if the container uses RMI-IIOP as the distribution protocol; the stubs are container-specific otherwise .



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net