How does Jetty relate to Jakarta Tomcat
Jakarta Tomcat is the apache/Sun effort
to produce a reference implementation of the Servlet API. The Tomcat project
is the merge of the apache JSERV container and Sun's original reference
implementation.
Tomcat is primarily a ServletContainer that can be used by
various HTTP servers, normally as a separate process. It does contain
a Java HTTP server, but it is only a simple implementation.
Tomcat is part of the Jakarta project and forms an element within
a larger framework.
Jetty is both a HTTP server and a ServletContainer, in a single JVM.
The focus of Jetty is to provide a full featured implementation of
the HTTP/1.1 protocol and a standards compliant ServletContainer.
Jetty is intended to be deployable as a complete HTTP/Servlet
component within a Java application.
The different focus of Jetty allows it be smaller, faster, simpler
and more flexible than Tomcat.
Jetty uses the jasper JSP engine from the jakarta project.
Return to JettyFaq