I am using Sun's Reference Implementation of
J2EE with a Simple StatelessSession Bean (e.g. HelloBean) deployed in it.
I have a client which needs to invoke the business method exposed in this bean. However this client is
OUTSIDE the Ejb Container, in a different JVM.
Generally if the client application client is also deployed within the EJB CONTAINER, the std code would be as follows :
But the Client NEEDS to be outside the EJB Container, hence would have the JNDI lookup Modifications as follows :
The
PROBLEM is for SUN's Reference Implementation WHAT are the TWO Properties :
INITIAL_CONTEXT_FACTORYPROVIDER_URL