caffeinerusher
Programmer
Hi--
I am working on a J2EE project and am trying to put together a simple example as follows:
1. JSP page with a simple form.
2. A controller servlet
3. EJB
When the user does a 1 of 2 tasks, the controller servlet calls on a method located in 1 of 2 EJBs. The EJB would pass a string back to the controller servlet which would then display it to the user.
I am having problems understanding what is needed for the JNDI lookup etc. so that my servlet can communicate with my bean. I am using a session bean with a Local interface.
Thanks!
--Caffeinerusher
I am working on a J2EE project and am trying to put together a simple example as follows:
1. JSP page with a simple form.
2. A controller servlet
3. EJB
When the user does a 1 of 2 tasks, the controller servlet calls on a method located in 1 of 2 EJBs. The EJB would pass a string back to the controller servlet which would then display it to the user.
I am having problems understanding what is needed for the JNDI lookup etc. so that my servlet can communicate with my bean. I am using a session bean with a Local interface.
Thanks!
--Caffeinerusher