Difference Between Similar Terms and Objects

Difference Between JBoss and Tomcat

tomcatJBoss vs. Tomcat

The JBoss server application (also known simply as JBoss AS) is an application server based on Java. It is a free software (or open source) server and is usable in any operating system supported by Java (because the server is Java based).

Apache Tomcat (also know as Jakarta Tomcat, or its more widely known name, Tomcat) is a servlet container (meaning it is a Java class that operates under the strictures of the Java Servlet API – a protocol by which a Java class responds to an http request). This is an open source server, providing a ‘pure Java’ HTTP web server environment in which code written in Java is capable of running.

There are many permutations of the JBoss AS server application. The JBOSS AS 4.0 version features a Tomcat 5.5 servlet container that is embedded in the application. Because it is compatible with any Java Virtual Machine between versions 1.4 and 1.6, JBoss AS is capable of running on a variety of operating systems -which includes any of the POSX platforms, such as Linux, FreeBSD and Mac OS X. JBoss AS 4.0 is also capable of being run on Microsoft Windows, and an assortment of other platforms – that is, of course, if a JVM that is suitable for the platform is readily available. Though the JBoss AS 4.2 version also operates with a Java EE 1.4 application server like the 4.0 version, it only functions with the aid of version 5 of the Java Development Kit. It deploys Enterprise JavaBeans 3.0 by default, and is also bundled with a version of Tomcat (version 5.5). The most current permutation of the JBoss (version 5.1) operates the same as its predecessors, but it also contains a preview of the impending Java EE 6 specification.

There are several components in the Tomcat servlet: Catalina, Coyote, Jasper and Jasper 2. Catalina makes use of the Sun Microsystems specifications specific to servlets and JavaServer Pages (or JSP). Coyote is the HTTP connector associated with Tomcat. As such, it watches for incoming connections on a specific TCP port on the server, forwarding the request to the Tomcat Engine for processing. Jasper and Jasper 2 function as Tomcat’s JSP Engine. Jasper 2, however, includes a JSP tag library pooling, background JSP compilation, and is capable of recompiling JSP when included pages change, and a JDT Java compiler. JBoss has the ability to do all of these actions as well as a variety of different functions, including, but not limited to, clustering, distributed deployment (farming), and using Java Management Extensions.

Summary:

1. JBoss is a server application based on Java; Tomcat is a servlet container.

2. JBoss makes use of the Java EE specification; Tomcat makes use of Sun Microsystems specific specifications.

Sharing is caring!


Search DifferenceBetween.net :




Email This Post Email This Post : If you like this article or our site. Please spread the word. Share it with your friends/family.


2 Comments

  1. Short and simple enough to make any one understand the concept.
    Good job done 🙂

  2. The worst explanation that can be given.
    Head on to so for better points.

Leave a Response

Please note: comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Articles on DifferenceBetween.net are general information, and are not intended to substitute for professional advice. The information is "AS IS", "WITH ALL FAULTS". User assumes all risk of use, damage, or injury. You agree that we have no liability for any damages.


See more about : , ,
Protected by Copyscape Plagiarism Finder