Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Enterprise JavaBeans™ Specification, Version 2.0 - Sun Microsystems.pdf
Скачиваний:
14
Добавлен:
24.05.2014
Размер:
2.71 Mб
Скачать

Sun Microsystems Inc

Support for distribution

Enterprise JavaBeans 2.0, Public Draft

Support for Distribution and Interoperability

Chapter 18 Support for Distribution and

Interoperability

This chapter describes the support for accessing enterprise beans from clients distributed over a network, and the interoperability requirements for invocations on enterprise beans from clients that are Java 2 Platform, Enterprise Edition (J2EE) components.

18.1 Support for distribution

The home and remote interfaces of the enterprise bean’s client view are defined as Java™ RMI [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 [7]. This makes it possible for the EJB Container implementors to use RMI-IIOP as the object distribution protocol.

355

5/31/00