File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JSP/ASP calling EJB using JNDI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JSP/ASP calling EJB using JNDI" Watch "JSP/ASP calling EJB using JNDI" New topic

JSP/ASP calling EJB using JNDI

Martin Lawrence

Joined: Oct 20, 2000
Posts: 14
Hi all,
is it possible to obtain a EJB Home object using JNDI calling
it from a ASP. I would prefer to use JSP but have no say in the
project development.
Note the web server and application server are on different machines.
Roof Age

Joined: May 07, 2001
Posts: 7
What app server are you using?
Desai Sandeep
Ranch Hand

Joined: Apr 02, 2001
Posts: 1157
I think you can, because of the JNDI architecture.
JNDI provides one unified API for performing all the naming and directory operations.You only need to make sure that you have a proper Service provider in place, which maps your HomeObject.
Hope this helps.

  • Sun Certified Programmer for Java 2 Platform Scored 93 per cent
  • Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java Scored 56 out of 59
  • IBM Enterprise Connectivity with J2EE Scored 72 per cent
  • Enterprise Development on the Oracle Internet Platform Scored 44 out of 56

  • [This message has been edited by Desai Sandeep (edited May 10, 2001).]
Martin Lawrence

Joined: Oct 20, 2000
Posts: 14
We are currently using BEA Systems WebLogic Server 5.1. (EJB 1.1)
Has anybody come across any examples that I can look at.
I agree. Here's the link:
subject: JSP/ASP calling EJB using JNDI
It's not a secret anymore!