Posted on 2005-02-24
have this question
In ejbs, the client program (which is trying to access an ejb) has the jndi lookup which goes like this
InitialContext ic = new InitialContext()
Object obj = ic.lookup("blabla");
StudentHome home =(StudentHome) PortableRemoteObject.narrow(blabla,StudentHome.class);
StudentRemote remote= home.create();
my question is ,
I know jndi is used to look up different resources, but what exactly does jndi look up in the above statement.
i want to know how exactly jndi ( in above program) communicates with the component deployed in the server.