This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat compared with JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat compared with JBoss" Watch "Tomcat compared with JBoss" New topic
Author

Tomcat compared with JBoss

Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5122
    
  12

Hi,

We are using tomcat 5.0 and inside the company some people want to use JBoss instead. I have completely no experience with JBoss, so it would be nice if someone could compare the both with each other (pros, cons, ...). is it easy to go from tomcat to jboss?

In tomcat you can start up with -xms1024m and -xmx1024m or another number. this number has a maximum depending on the operating system. so i guess this limitation exists also when you work with jboss

I downloaded myself the getting started manual, but it didn't make me a lot smarter.

Thanks anyway!


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60739
    
  65

Do you need EJB's or not?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60739
    
  65

And I'd venture to that that if the "some people" who want to switch to JBoss haven't come up their own extensive list of what the beneifts of such a change would be, then the answer is a clear "no".
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Tomcat and JBoss can't really be compared.
JBoss is a superset of Tomcat.

In other words, JBoss uses Tomcat as it's Servlet/JSP container.
If you have JBoss, you have Tomcat.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5122
    
  12

Originally posted by Bear Bibeault:
Do you need EJB's or not?


no need for EJBs
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5122
    
  12

Originally posted by Bear Bibeault:
And I'd venture to that that if the "some people" who want to switch to JBoss haven't come up their own extensive list of what the beneifts of such a change would be, then the answer is a clear "no".


the main reason they want this change is because another product they have bought comes on a linux with jboss, and so they want to change every application server to be a linux with jboss. that 's the only reason and for them it will be a really important one, because this request comes from the system administration department and so they have only one kind of application server to support
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5122
    
  12

Originally posted by Ben Souther:
In other words, JBoss uses Tomcat as it's Servlet/JSP container.
If you have JBoss, you have Tomcat.


so if i get it right: each limitation that you have with tomcat (like the limitation of memory you can use with the startup option -Xmx and -Xms) you have also with JBoss because it's using Tomcat as a container
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Yes, you'll still have Tomcat.
I don't think the memory issue you've mentioned is Tomcat specific.
I believe it's a JVM issue.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5122
    
  12

Originally posted by Ben Souther:
Yes, you'll still have Tomcat.
I don't think the memory issue you've mentioned is Tomcat specific.
I believe it's a JVM issue.


yes you're right. my mistake
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat compared with JBoss
 
Similar Threads
Executing servlets with Struts and JBoss
how to reduce number of native threads in proc table
After basic knowledge of core java, which module of java should i pick for expertise.
problem using Tomcat with Jboss
jboss 4.2.2