File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Does JBoss offer advantages and benefits over Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Does JBoss offer advantages and benefits over Tomcat?" Watch "Does JBoss offer advantages and benefits over Tomcat?" New topic
Author

Does JBoss offer advantages and benefits over Tomcat?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi,
Assuming I have a Java webapp that doesn't use EJB, What would be a better choice? Tomcat or JBoss?
In other words, does JBoss offer advantages and benefits over Tomcat?
Thanks.
Bhavik patel
Ranch Hand

Joined: Feb 20, 2007
Posts: 49
It is simple to make decision...

Choose Jboss or other application server : if your clients will access application using protocols other than http and https. i.r CORBA, JRMP etc...
Choose Tomcat or other web server : if your clients will access application using http or https only....

Thanks


Bhavik Patel
Glassfish Consultancy service At http://www.jmatrix.in
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Tomcat does not support the full J2EE stack (as you know). Just the servlet and JSP parts.

JBoss, on the other hand, does support the full J2EE stack. And it provides the servlet/JSP parts by embedding a copy of Tomcat inside itself. At one time it offered an embedded Jetty option, as well, but I've been told by JBoss people that these days, it's strictly Tomcat.

JBoss is perforce larger than plain Tomcat and has more subsystems to start up and shut down than Tomcat, so you're better off with plain Tomcat is all you ever expect to do is servlet/JSP. On the other hand, when you actually need those other bells and whistles, JBoss is an excellent implementation.


Customer surveys are for companies who didn't pay proper attention to begin with.
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Bhavik patel wrote:It is simple to make decision...

Choose Jboss or other application server : if your clients will access application using protocols other than http and https. i.r CORBA, JRMP etc...
Choose Tomcat or other web server : if your clients will access application using http or https only....

Thanks


Lets say the application is pure Java web application (no EJBs), Servlets and JSPs and any other web framework like SpringMVC.
How it is possible to access it via protocols other than HTTP and HTTPS?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Depends on what you mean by "other protocols". If they're J2EE-standard protocols such as RMI, you'd be better off using JBoss. If they're custom protocols, you might be able to subclass the Servlet class to service them.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Does JBoss offer advantages and benefits over Tomcat?
 
Similar Threads
GWT vs other Frameworks
Servlet Containers?
Reasons for Using Jboss Rather Than Tomcat Only
IntelliJ vs NetBeans in programmer productivity
"Programmer's Guide To SCJP" book question.. fast track to SCJP?