aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss In Action - Why JBoss? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss In Action - Why JBoss?" Watch "JBoss In Action - Why JBoss?" New topic
Author

JBoss In Action - Why JBoss?

Jennifer Moran
Ranch Hand

Joined: Oct 21, 2002
Posts: 60
I was asked to analyze developing a product for a new company. In the past my experience has been with Apache and I was thinking about using JBoss for the production web server. Does the book get into the pros and cons of using JBoss for a production environment and why would someone choose JBoss over other web servers available (ex: Apache, WebLogic, etc)

Thanks!

Jennifer
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Apache is an open source organisation. Are you asking about Apache Http Server? If so, JBoss is an application server, not a web server. You cannot compare an web server with an application server. Use an application server when you need the extra functionality it provides otherwise stick to a plain old Http server. Or are you asking about Apache Tomcat? If so, similar criteria apply, use the one most appropriate to the technologies you utilize.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
JBoss AS is built on top of Apache Tomcat. It has added an EJB container to it and enhanced the EL a bit. If you need EJB, then you can scrap Tomcat from your list. It simply doesn´t support EJB´s. If you don´t need EJB´s, then you have to decide whether that EJB feature of JBoss is useful at any way. If not, then you can perfectly use Tomcat. Or if you like JBoss EL above standard EL, then you may consider JBoss AS.

After all, just find out the features/pros/cons/whatever and check if you need it sooner or later. As with every other choice you make in your life.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


JBoss AS is built on top of Apache Tomcat

This isn't right. It is build on a JMX backed "micro kernel" into which various services are added. Tomcat is one of those services. There is a lot more to JBoss AS than just an EJB container and Tomcat!
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
OK, let´s rephrase it: JBoss took Apache Tomcat and built a JMX bus around it to make EJB integration able.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5830
    
    7

And JBoss AS 5.0.0 moved from a JMX Kernel base to a microcontainer base, thus most services are POJO-based. Of course, one of the primary services is a JMX servies which then hosts those services that have not yet been converted to the microcontainer.

In general, JBoss AS is a certified Java EE 5 application server. As such, it is required to provide a large number of services (see http://java.sun.com/javaee/technologies/ for a list) and uses various other projects to provide many of those services.

Check out chapter 1 of the book, it is a free download. That has some information on why to use JBoss AS. But we do not go into a detailed comparison with other app server.

JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss In Action - Why JBoss?