This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Reasons for Using Jboss Rather Than Tomcat Only Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Reply Bookmark "Reasons for Using Jboss Rather Than Tomcat Only" Watch "Reasons for Using Jboss Rather Than Tomcat Only" New topic
Author

Reasons for Using Jboss Rather Than Tomcat Only

Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
I am using Struts2 - Spring - Hibernate on standalone tomcat server. However, I heard that someone is using Jboss while also running Struts2 - Spring - Hibernate web appli (without using EJB). Why Jboss is needed in such a case? Is there any benefits for using Jboss rather than standalone tomcat?
kong song
Greenhorn

Joined: May 12, 2009
Posts: 13
Jboss is an application server, which support EJB,JMS....right now it contains web server(Tomcat)
Tomcat is a web server only support for servlet an jsp
Kees Jan Koster
Ranch Hand

Joined: Mar 31, 2009
Posts: 222
Dear Alec,

From the stuff you are using, there is no pressing need to go to JBoss. I found JBoss startup times to be horrible, so sticking with Tomcat saves you a lot of waiting.

If you are experiencing the kind of system loads that overload tomcat's connectors, switching to JBoss *may* help. From what I have heard, JBoss offers quite a good NIO-based connector.

Other that that. Meh. :-)


Java-monitor, JVM monitoring made easy (and free)
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Thanks Kees,

Does Jboss offer anything better than standalone Tomcat in terms of scaling up the appli (no EJB, no remote call) through clustering ?
Kees Jan Koster
Ranch Hand

Joined: Mar 31, 2009
Posts: 222
Dear Alec,

Tomcat offers clustering, JBoss does too. Whether it is more effective depends on your application's needs. Since you're asking, I think Tomcat's clustering will do nicely for you. :-)

If you write your application according to the JEE spec and use Tomcat without relying on any of its Tomcat-specific features, you can move to JBoss (and endure JBoss start times) at any time in the future.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reasons for Using Jboss Rather Than Tomcat Only
 
Similar Threads
maven struts2 plugins
struts2 problem
Job Adv Requiring WebSphere Exp
Introducing Spring in Struts2 Project
Exception starting filter struts2