wood burning stoves*
The moose likes JBoss/WildFly and the fly likes Confusion reigns. Please Help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Confusion reigns. Please Help" Watch "Confusion reigns. Please Help" New topic
Author

Confusion reigns. Please Help

Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
Hi I wonder if you guys/gals could clear some stuff up for me.
Not sure if this should be in JBoss or Tomcat forum tho.

Questions

1) Does JBoss have its own servlet engine or is Apache Tomcat and JBoss's servlet engine one and the same thing.

2) Some of the documentation implies that Tomcat has its own embedded Webserver is this correct?

3) What really confuses me is that TomCat is often called Apache Tomcat (which may or may not have an embedded Web Server) but I see loads of Documentation talking about connecting it to Apache, which is as far as I'm aware also a Web Server!!!

4) Where does Catalina come into all this.

Last but not least we are running an application using JRun and have Virtual paths mapped in the JRun-Web.xml file e.g

<virtual-mapping>
<resource-path>/document/pdf/*</resource-path>
<system-path>SERVER-INF/pdf</system-path>
</virtual-mapping>

Where would we put the equivalent in JBoss/TomCat is it in the JBoss configuration or TomCat's and which file would it be in???

Phew!!! Thanks for any help
Graham
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


1) Does JBoss have its own servlet engine or is Apache Tomcat and JBoss's servlet engine one and the same thing.

Apache Jakarta Tomcat is the servlet engine bundled with JBoss.


2) Some of the documentation implies that Tomcat has its own embedded Webserver is this correct?

Well Tomcat does act as a WebServer (as do all servlet containers)


3) What really confuses me is that TomCat is often called Apache Tomcat (which may or may not have an embedded Web Server) but I see loads of Documentation talking about connecting it to Apache, which is as far as I'm aware also a Web Server!!!

Apache HTTP Server is a seperate product - its a Web Server. Documentation talking about connecting anything to "Apache" is a little lazy. Apache is a software foundation under whose control exist a number of open source products, of which Apache HTTP Server is one, and so it Apache Jakarta Tomcat.


4) Where does Catalina come into all this.

Catalina is a version of the servlet container which appeared in Tomcat V4
[ November 26, 2004: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Peter Rooke
Ranch Hand

Joined: Oct 21, 2004
Posts: 800

JBoss can use other products as its web container, You can download a version of jboss that uses an embedded tomcat webserver.

Yes, Apache Tomcat and Apache Web Server are two products from same people. Tomcat modules are described here: Apache, Jakarta, Tomcat, Catalina, Coyote, Jasper. Even Better:Tomcat Overview

I've no idea about your virtual mapping question, I'll let some else answer this.
[ November 26, 2004: Message edited by: Peter Rooke ]

Regards Pete
Graham VMead
Ranch Hand

Joined: Sep 22, 2003
Posts: 154
Marvellous thats a lot clearer, thanks for the replies.

As for my mapping problem I found the answer hereJBOSS: Serving External Static Content
 
wood burning stoves
 
subject: Confusion reigns. Please Help
 
Similar Threads
deploying servlet in jrun webserver
ServletConfig getInitParameter() ????
Servlets in JRUN 4.0
For Tomcat 5.5.23 on Linux Gurus.
serving images - mappings question