Previously, we've talked about separating coding references from the physical resources. This is fairly simple with an integrated JBoss-Tomcat implementation. jboss-web.xml provides the mapping so that ejb-ref-name -> jndi-name. However, how do you preserve that separation when you are working with a standalone Tomcat installation? This short howto explains the Tomcat JNDI resources and how to implement an Object Factory to support JBoss lookups on a standalone Tomcat server. Again, aimed more at newbies struggling with enabling simpler portability of their web applications.
The document and the document/source bundle can be located at http://www.amitysolutions.com.au/documents/JBossTomcatJNDI-technote.pdf and http://www.amitysolutions.com.au/downloads/jbosstomcatjndi.tar.gz respectively.
Hope it is of use.