Somebody pls. suggest me to do the following :
InitialContext ic = new InitialContext();
BpHome home = (BpHome)ic.lookup("jndiBpHome");
If BpHome(Home interface of an EJB) is in a String variable, then how can I
perform same as above. i.e.
String HomeStr = "BpHome";
InitialContext ic = new InitialContext();
HomeStr home = (HomeStr)ic.lookup("jndiBpHome");
I know that this will now work, somebody pls. suggest me the way to do this.
It's very urgent.
Thanks in advance.
Tarun
===========================================================================
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