-
1. Re: Getting EJB from jsp in different container
kabirkhan Feb 13, 2004 5:15 AM (in response to inglass)I've never tried this, but my guess is that you would need to modify jndi.properties on the web server machine to point to the server with the EJBContainer on, and to create ejb-ref entries in the jboss-web.xml in your web application.
-
2. Re: Getting EJB from jsp in different container
acoliver Feb 13, 2004 10:49 AM (in response to inglass)From a performance perspective what you're doing will cause a 10-1000 times slowdown over tomcat (not because of resin but because you'll be operating against a non-integrated web tier and thus pass-by-value is 10-1000 times slower). However, I'm assuming that you've evaluated that and feel it is worth it for whatever reason. Therefore, you just need a jndi.properties in your classpath. This is for you: http://jboss.org/wiki/Wiki.jsp?page=AccessEJBsRemotely
-
3. Re: Getting EJB from jsp in different container
inglass Feb 15, 2004 8:56 PM (in response to inglass)thanks.If I use Tomcat for WEB tier,I can get EJB object from an EJB container successfully. Otherwise,use Resin for WEB tier,can't get EJB object from an EJB container .