Need advice about which tool to choose?Ask the StackShare community!

JBoss

328
248
+ 1
0
Apache Tomcat

16.5K
12.2K
+ 1
201
Add tool

Apache Tomcat vs JBoss: What are the differences?

# Introduction
In this comparison, we will discuss the key differences between Apache Tomcat and JBoss.

1. **Architecture**: Apache Tomcat is a lightweight, open-source application server primarily used for serving Java servlets and JSP pages. On the other hand, JBoss is a full-featured, open-source Java EE application server that provides a complete framework for developing, deploying, and running enterprise applications.

2. **Supported Technologies**: Apache Tomcat supports Servlets and JSPs, while JBoss supports a broader range of Java EE technologies such as EJB, JPA, JMS, CDI, and more. This makes JBoss suitable for complex enterprise applications that require a wide array of technologies.

3. **Clustering and High Availability**: JBoss offers built-in support for clustering and high availability, making it a better choice for applications that require scalability and fault tolerance. Apache Tomcat, while capable of clustering, might require additional configurations and third-party tools to achieve similar levels of clustering and high availability.

4. **Management and Monitoring**: JBoss comes with a comprehensive management console that allows administrators to monitor and manage various aspects of the application server. In contrast, Apache Tomcat provides basic management capabilities through its web-based administration interface, which might be sufficient for simpler deployments.

5. **Community and Support**: Apache Tomcat has a large and active community providing support, documentation, and plugins. JBoss, being a part of the Red Hat ecosystem, offers commercial support options and enterprise-grade features for businesses that require reliable and timely support.

6. **Licenses and Cost**: Apache Tomcat is distributed under the Apache License, making it free to use and suitable for open-source projects. JBoss, on the other hand, is based on the JBoss Community License and offers commercial Red Hat Enterprise support, which may incur licensing and support costs for enterprise deployments.

In Summary, Apache Tomcat is ideal for lightweight servlet and JSP-based applications, while JBoss is better suited for enterprise applications requiring a comprehensive Java EE platform with clustering and high availability features.
Decisions about JBoss and Apache Tomcat

I was in a situation where I have to configure 40 RHEL servers 20 each for Apache HTTP Server and Tomcat server. My task was to 1. configure LVM with required logical volumes, format and mount for HTTP and Tomcat servers accordingly. 2. Install apache and tomcat. 3. Generate and apply selfsigned certs to http server. 4. Modify default ports on Tomcat to different ports. 5. Create users on RHEL for application support team. 6. other administrative tasks like, start, stop and restart HTTP and Tomcat services.

I have utilized the power of ansible for all these tasks, which made it easy and manageable.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of JBoss
Pros of Apache Tomcat
    Be the first to leave a pro
    • 79
      Easy
    • 72
      Java
    • 49
      Popular
    • 1
      Spring web

    Sign up to add or upvote prosMake informed product decisions

    Cons of JBoss
    Cons of Apache Tomcat
      Be the first to leave a con
      • 2
        Blocking - each http request block a thread
      • 1
        Easy to set up

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is JBoss?

      An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.

      What is Apache Tomcat?

      Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

      Need advice about which tool to choose?Ask the StackShare community!

      Jobs that mention JBoss and Apache Tomcat as a desired skillset
      What companies use JBoss?
      What companies use Apache Tomcat?
      See which teams inside your own company are using JBoss or Apache Tomcat.
      Sign up for StackShare EnterpriseLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with JBoss?
      What tools integrate with Apache Tomcat?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      What are some alternatives to JBoss and Apache Tomcat?
      Wildfly
      It is a flexible, lightweight, managed application runtime that helps you build amazing applications. It supports the latest standards for web development.
      GlassFish
      An Application Server means, It can manage Java EE applications You should use GlassFish for Java EE enterprise applications. The need for a seperate Web server is mostly needed in a production environment.
      Websphere
      It is a highly scalable, secure and reliable Java EE runtime environment designed to host applications and microservices for any size organization. It supports the Java EE, Jakarta EE and MicroProfile standards-based programming models.
      Spring Boot
      Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
      Jetty
      Jetty is used in a wide variety of projects and products, both in development and production. Jetty can be easily embedded in devices, tools, frameworks, application servers, and clusters. See the Jetty Powered page for more uses of Jetty.
      See all alternatives