Hi all,
I have a JAR file called myejb.jar, a WAR file called mywar.war and
they are packaged into
an EAR file called myear.ear. How should I specify the Class-Path
attribute in the WAR's MANIFEST.MF to can use my EJBs from myejb.jar?
Thank you,
Laszlo.
Dave f - 08 Feb 2006 18:55 GMT
If this is all running in the same container (JBoss, WebLogic,
WebSphere, etc.), you should be able to do a local JNDI lookup based on
the JNDI name of the EJBs. There's really no need to specify a
classpath.
In the Servlet or JSP from the WAR file, do a
context.lookup("jndi/path/here");
Dave f - 08 Feb 2006 19:18 GMT
If this is all running in the same container (JBoss, WebLogic,
WebSphere, etc.), you should be able to do a local JNDI lookup based on
the JNDI name of the EJBs. There's really no need to specify a
classpath.
In the Servlet or JSP from the WAR file, do a
context.lookup("jndi/path/here");
Dave f - 08 Feb 2006 19:18 GMT
If this is all running in the same container (JBoss, WebLogic,
WebSphere, etc.), you should be able to do a local JNDI lookup based on
the JNDI name of the EJBs. There's really no need to specify a
classpath.
In the Servlet or JSP from the WAR file, do a
context.lookup("jndi/path/here");