Apache Tomcat logo

Apache Tomcat

Apache Tomcat is an open-source implementation of the Java Servlet, JavaServer Pages (JSP), Java Expression Language, and Java WebSocket technologies. It provides a pure Java HTTP web server and servlet container for hosting Java web applications. Tomcat exposes management APIs via the Manager application (HTTP text protocol), JMX for monitoring, and a Virtual Host Manager for configuration management. It is maintained by the Apache Software Foundation and is one of the most widely deployed Java application servers.

2 APIs 7 Features
Application ServerJavaJSPOpen SourceServletWeb Server

APIs

Apache Tomcat Manager API

The Tomcat Manager application provides an HTTP text protocol API for deploying, undeploying, starting, stopping, and reloading web applications remotely. Key endpoints include:...

Apache Tomcat JMX API

The Tomcat JMX API exposes management and monitoring beans for Connectors, Engines, Hosts, Contexts, Sessions, DataSources, thread pools, and memory via Java Management Extensio...

Features

Servlet Container

Jakarta Servlet 6.0 (formerly Java EE) compliant servlet container.

JSP Engine

JavaServer Pages compiler and runtime engine for dynamic HTML generation.

WebSocket Support

Jakarta WebSocket 2.1 implementation for full-duplex browser-server communication.

HTTP/2 Support

HTTP/2 multiplexing and server push via APR/Native connector.

SSL/TLS Termination

Built-in SSL/TLS support via JSSE or APR/OpenSSL connectors.

Connection Pooling

DBCP2-based database connection pool management via JNDI DataSource.

Clustering

Session replication across Tomcat cluster nodes via DeltaManager or BackupManager.

Use Cases

Java Web Application Hosting

Deploy and host Java Servlet/JSP web applications.

API Gateway Backend

Host REST API backends built with Spring MVC, JAX-RS, or plain servlets.

Microservices Container

Embedded Tomcat in Spring Boot for microservices deployment.

Legacy Application Migration

Host Java EE applications during cloud migration.

Integrations

Spring Boot

Embedded Tomcat as the default servlet container in Spring Boot applications.

Apache HTTP Server

mod_jk and mod_proxy_ajp for load balancing between Apache httpd and Tomcat.

Nginx

Nginx reverse proxy for Tomcat with SSL termination and load balancing.

Prometheus

JMX Exporter for exposing Tomcat metrics in Prometheus format.

Docker

Official Docker image for containerized Tomcat deployment.

Resources

👥
GitHubRepository
GitHubRepository
🔗
Documentation
Documentation
🌐
Portal
Portal
🚀
GettingStarted
GettingStarted
📄
ReleaseNotes
ReleaseNotes
💬
Support
Support
📜
TermsOfService
TermsOfService