JBoss – Web Container
by, 11-06-2011 at 06:27 PM (1047 Views)
I assume you are familiar with Tomcat. Normally developers start learning J2EE with Servlet and JSP and deploy them on Tomcat. JBoss now comes with Tomcat 5.5 and is used as default web container.
The embedded Tomcat service is the expanded SAR jbossweb-tomcat55.sar in the deploy directory. All the required JARs also exist there. The file web.xml provides default configuration set for web applications. server.xml, which contains standard Tomcat format configuration information. This includes setting up the HTTP connector on the default
port 8080, an AJP connector on port 8009 and an example of how to configure an SSL connector.
These settings are simple and easy for you if you have used standalone Tomcat server before. Normally you wont need to access this since JBoss takes care of all. Web applications are deployed by putting them in the JBoss deploy directory and logging output from Tomcat can be found in the JBoss log directory.