Transaction Interoperability

   

Naming Interoperability

The goal of the naming interoperability requirements is primarily to allow enterprise beans to be found by using the CORBA naming service mechanisms. The CORBA Common Object Service Naming (CosNaming) is a service similar conceptually to the JNDI service. In fact, as it was pointed out in Chapter 4, "Java Naming and Directory Interface," there is a service provider interface (SPI) for the CORBA naming service for JNDI. CosNaming enables you to look up CORBA objects by name , regardless of the location of the CORBA object on the network.

The naming interoperability requirements describe how EJBHome object references are published to the CORBA CosNaming service and are available to CORBA objects through the lookup operations over IIOP. When an EJBHome object reference is published in a CosNaming service, the host, port, and object key location are inserted into the CosNaming service and must follow the requirements in the CORBA Interoperability Name Service specification.

Many EJB containers provide a CosNaming service built into the container itself; however, some will just provide a transparent bridge to a third-party CosNaming service.



Special Edition Using Enterprise JavaBeans 2.0
Special Edition Using Enterprise JavaBeans 2.0
ISBN: 0789725673
EAN: 2147483647
Year: 2000
Pages: 223

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