+

 

Name space federation

 

Federating name spaces involves binding contexts from one name space into another. For example, if NameSpace2 context...

company/buyer/ejbB

...is bound into NameSpace1 context...

company/buyer/ejbA

...the two name spaces become federated. From NameSpace1, a lookup of...

company/buyer/ejbA/App1
...returns the context bound under the name...

company/buyer/ejbB
...in NameSpace2.

Federation is limited to CosNaming name servers. You cannot, for example, bind contexts from an LDAP name server implementation.

If you use JNDI to federate the name space, use the initial context factory to obtain the reference to the federated context.

Do not federate two WAS stand-alone server name spaces. Incorrect behavior may result. To federate WAS name spaces, use servers running under a Network Deployment instance of WAS.