Perform lookup in an EJB / Web container outside the cell

It is slightly different when performing a JNDI lookup from an EJB or Web container for an EJB that is not within the same cell. EJB references can still be used but the local name server is not able to locate the EJB home. In this situation a provider URL is needed when creating the InitialContext object that points to the name server that does know about the EJB. This makes this scenario fall somewhere between a J2EE application client container and a stand alone client. EJB references can be used but the container cannot be relied to locate a name server that can find the EJB.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.