This is one part of the "J2EE" strategy that the current specifications
leave unclear, so your questions are rather justified.
What I believe most people are doing is generating JavaBean
(non-Enterprise) classes that wrap up access to the EJB. The primary
need for this is to provide the 0-argument constructor in the JavaBean
that would go through the typical methods of getting a reference to the
EJB.
This code should be possible to generate mechanically, rather than
typing it all in. You might consider writing a simple tool that uses
Reflection to determine the methods, arguments, etc. for the EJB and
generate your JavaBean's .java file with wrapper methods and
constructor...
-=- D. J.
Nidhi Singhal wrote:
> I am in desperate need for this information. I have been trying to dig this
> out but...
> I have an EJB which is deployed on the Oracle 8i. Now I wish to use this EJB
> in my JSP page. Can somebody please help me with this problem.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets