Where is JNDI located (In client or server).If its server, how a client can get the information about whichEJB is registered in JNDI ?.How EJB will be registered in JNDI.

Showing Answers 1 - 4 of 4 Answers

Yogesh tiwari

  • Mar 19th, 2006
 

It resides in the Container .

From    

          J2EE Expert Yogesh Tiwari

  Was this answer useful?  Yes

rkj2ee2005

  • Mar 19th, 2006
 

If its server, how a client can get the information about which is registered in JNDI ?.-There is no way that you can find out which ejbs registered in ejb container. You have to know which ejb to look for How EJB will be registered in JNDI?-EJB container will register each EJB while it is deploying them (based on deployment descriptor) in the container

  Was this answer useful?  Yes

s_s78

  • Mar 20th, 2006
 

client must know JNDI name of EJB before looking for it it will go through RMI-IIOP protocol.

and lookup is performed by container

  Was this answer useful?  Yes

ak40732

  • Mar 23rd, 2006
 

JNDI is a service which is offered by the servers like Weblogic etc.We can make any business or entitiy components which are reusable across different applications to be available to any type of clients using this service.This service maintains the referece to the objects like Database Connections,EJB's,Queues etc.As the service should be available to various types of clients which can range from webbrousers,swing clients,rmi clients etc,so obviously it should reside on the server side.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions