EJB programming & troubleshooting: Configuring JBOSS with servlet containers
Hi: Does any one know how to configure JBOSS with a servlet container. I tried my best to find that answer from JBOSS web site but never found any answer. I think they encourage you to use their embeded tomcat container that comes with their app server. If that is the case I don't know how people use JBoss in real production environment. Can some one confirm it?
- Posted by: Rashid Jilani
- Posted on: July 16 2001 20:05 EDT
At http://www.jboss.org/binary.jsp they have an install for JBoss + Tomcat Packages. They also have JBoss + Jetty Packages that I haven't tried. There are others, but I can't remember what they are. When you talk production, I think it is more of what kind of performance you need. JBoss and Tomcat with Apache are decent. I have had good success with them all. If I had the money, I would probably go with Weblogic though.
Hope this helps.
The integrated bundles you can download on the jboss.org site are special: they offer integrated environments where everything runs within 1 virtual machine for speed.
JBoss can work with any servlet-engine, just not as integrated as the bundled versions. Put all the jars in the jboss/client folder in your classpath, together with jndi.properties and your compiled classes.
For a detailed example, look at the Intrestexample in the documentation. Chapter 1 ends with 'Coding and copiling the test-client' (http://www.jboss.org/documentation/HTML/ch01s15.html). It explains which jars are necessary, and how to do the lookup. Just pretend your servlet-engine is a normal client :-)