Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion reigns. Please Help

 
Graham VMead
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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 ]
 
Peter Rooke
Ranch Hand
Posts: 848
1
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Graham VMead
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marvellous thats a lot clearer, thanks for the replies.

As for my mapping problem I found the answer hereJBOSS: Serving External Static Content
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic