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

Apache Tomcat

14.4K
10.7K
+ 1
201
Undertow

44
73
+ 1
5
Add tool

Apache Tomcat vs Undertow: What are the differences?

What is Apache Tomcat? An open source software implementation of the Java Servlet and JavaServer Pages technologies. Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.

What is Undertow? A flexible performant web server written in java. It is a flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO. It has a composition based architecture that allows you to build a web server by combining small single purpose handlers. The gives you the flexibility to choose between a full Java EE servlet 4.0 container, or a low level non-blocking handler, to anything in between.

Apache Tomcat and Undertow belong to "Web Servers" category of the tech stack.

Apache Tomcat is an open source tool with 3.62K GitHub stars and 2.47K GitHub forks. Here's a link to Apache Tomcat's open source repository on GitHub.

According to the StackShare community, Apache Tomcat has a broader approval, being mentioned in 768 company stacks & 2940 developers stacks; compared to Undertow, which is listed in 8 company stacks and 5 developer stacks.

Decisions about Apache Tomcat and Undertow

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 Apache Tomcat
Pros of Undertow
  • 79
    Easy
  • 72
    Java
  • 49
    Popular
  • 1
    Spring web
  • 4
    Performance
  • 1
    Lower footprint

Sign up to add or upvote prosMake informed product decisions

Cons of Apache Tomcat
Cons of Undertow
  • 1
    Blocking - each http request block a thread
  • 1
    Smaller community
  • 1
    Less known

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Apache Tomcat?

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

What is Undertow?

It is a flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO. It has a composition based architecture that allows you to build a web server by combining small single purpose handlers. The gives you the flexibility to choose between a full Java EE servlet 4.0 container, or a low level non-blocking handler, to anything in between.

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

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

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

What tools integrate with Apache Tomcat?
What tools integrate with Undertow?

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

Blog Posts

What are some alternatives to Apache Tomcat and Undertow?
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.
Microsoft IIS
Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
NGINX
nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
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.
Flask
Flask is intended for getting started very quickly and was developed with best intentions in mind.
See all alternatives