|
you can do this,provided that those
two are properly integrated...coz JNDI lookup is not possible via pure Webserver
components. They have to be servlets or JSP that are hosted in iAS web Engine. I
remember changing a lot of stuff on iAB project properties....
Please refer to the multitude of samples that demonstrate JNDI lookups. For example, check out the HelloWorld sample for a servlet accesing an EJB. Alternatively, check out the ias/ias-samples/j2eeguide/cart/ sample. also check you JSP/Servlet code whether it has the following kidna lookup code
p.put("javax.naming.factory.initial","com.netscape.server.jndi.RootContextFactory"); javax.naming.Context ctx = new javax.naming.InitialContext(p); procument.slbExchangeHome slbExchaHome = (procument.slbExchangeHome) ctx.lookup("java:comp/env/Exchange"); slbExchangeRI = slbExchaHome.create(); With iPlanet .. it's easy if you do the development
on iAB do configure the DDs. JNDI names etc...
cheers
Vaheesan
|
Re: Looking up for EJB's deployed in iAS 6.0 sp1 from iWS.......
Nirvana(on behalf of vaheesan Selvarajah) Tue, 02 Oct 2001 22:45:50 -0700
- Looking up for EJB's deployed in... Vikram Naik
- Nirvana(on behalf of vaheesan Selvarajah)
