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

tomcat vs. jboss?

Mike Noel
Ranch Hand

Joined: Dec 15, 2005
Posts: 108
This is probably a very silly question but I couldn't seem to find the answer. What is the relationship between tomcat and jboss? Is jboss a competitor to tomcat? Does one operate within the other?

Just trying to understand.

_M_


Mike Noel
Sapna Grover
Ranch Hand

Joined: Sep 27, 2002
Posts: 54
JBoss is essentially a EJB container, and Tomcat is a servlet container. The good thing or the confusing part is that JBoss has a pluggable architect as a result you can run servlet container like Tomcat within JBoss.

Thanks
Sapna Grover
Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138
Does that means JBoss does not have a web container?
It has to take services from tomcat or other web containers?

[ February 08, 2006: Message edited by: Hemant Agarwal ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Originally posted by Hemant Agarwal:
Does that means JBoss does not have a web container?
It has to take services from tomcat or other web containers?


[ February 08, 2006: Message edited by: Hemant Agarwal ]


JBoss does not provide its own Web Container.


Groovy
Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138
Originally posted by Pradip Bhat:


JBoss does not provide its own Web Container.


Does it provides all other J2EE related things or is it provides only EJB Container?
Tom Marrs
Author
Ranch Hand

Joined: Sep 20, 2000
Posts: 67
JBoss was originally just an EJB/JMS container. JBoss now comes bundled with Tomcat (a JSP/Servlet container). So, JBoss is running the show and it runs Tomcat as a managed service. Overall, it's a seamless integration of products that work well together.

Tom
Joshua Smith
Ranch Hand

Joined: Aug 22, 2005
Posts: 193
I've also heard of using JBoss with other products like Jetty or Geronimo. How do these play into the mix?

Joshua Smith


Rational Pi Blog - Java, SCJP, Dev Bits- http://rationalpi.wordpress.com
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

You used to be able to download JBoss (in version 3 I think) with either Jetty or Tomcat. With version 4, I think you can only download it with Tomcat.

Geronimo is a competitor to JBoss. It is another open source JEE application server offering the same type of functionality as JBoss.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

Wasn't installing Tomcat an extra step in older versions of JBoss? Its been so long since I've done it though.


My Blog: Down Home Country Coding with Scott Selikoff
Joshua Smith
Ranch Hand

Joined: Aug 22, 2005
Posts: 193
Is there any advantage to Jetty over Tomcat? Or Geronimo over JBoss?
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

Originally posted by Scott Selikoff:
Wasn't installing Tomcat an extra step in older versions of JBoss? Its been so long since I've done it though.


Quite possibly. I remember back to either 3.0 or 3.1 and you could download either a Tomcat version or a Jetty version. They were/are plugable components though, so you should be able to remove one and have a version of JBoss without a web container...(if you really wanted to)
Anil Verghese
Ranch Hand

Joined: Oct 11, 2006
Posts: 155
Hi!
Why we have to use JBOSS for JSP,SERVLET container?..
Is there any advantage over Tomcat?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39553
    
  27
Anil, as was pointed out in the above posts, JBoss does not have a servlet/JSP container. It uses Tomcat for that purpose.


Ping & DNS - updated with new look and Ping home screen widget
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

This FAQ entry might help:
http://faq.javaranch.com/java/WebVsApplicationServer


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4637
    
    5

Originally posted by Scott Selikoff:
Wasn't installing Tomcat an extra step in older versions of JBoss? Its been so long since I've done it though.


It used to be, but that was long ago, in a galaxy far away.

For the past 4 years or so, its a one step solution.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat vs. jboss?
 
Similar Threads
Tomcat compared with JBoss
developing my first struts application. So need some help
Why JBoss?
OpenSource SunOne
Web.xml Unknown Host Exception