Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JNDI Question for a newbie

Status
Not open for further replies.

caffeinerusher

Programmer
Mar 7, 2001
31
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top