As a veritable newby to EJBs I'm attempting to run my first client application. It follows the Titan shipping example in Richard Monson-Haefel's book published by O'Rielly. I have successfully deployed a session bean that I'm calling up within my client. I have successfully compiled my client on the machine on wich it runs and I'm running it using the same class path(s). When I run it, I get the following error:
"javax.naming.NoInitialContextException: Need to specify class name in environmen
t or system property, or as an applet parameter, or in an application resource f
Seems to point to the following line of code:
Object ref = jndiContext.lookup("TravelAgentHomeRemote");
Any help would be greatly appreciated. Thanks, NICK
Click on documentation on the left hand side.
Get the JBoss3.0 quick start guide.
There is a whole section on JNDI client configuration.