The home and remote interfaces of the enterprise bean's client view are defined as Java RMI [EJB.3] interfaces. This allows the container to implement the home and remote interfaces as distributed objects . A client using the home and remote interfaces can reside on a different machine than the enterprise bean (location transparency), and the object references of the home and remote interfaces can be passed over the network to other applications. The EJB specification further constrains the Java RMI types that can be used by enterprise beans to the legal RMI-IIOP types [EJB.7]. This makes it possible for the EJB container implementors to use RMI-IIOP as the object distribution protocol. Note The EJB 1.1 specification does not require container vendors to use RMI-IIOP. A later release of the J2EE platform is likely to require a J2EE platform implementor to implement the RMI-IIOP protocol for EJB interoperability in heterogeneous server environments. |