Jetty is a 100% Java HTTP Server and Servlet Container. This means that you do not need to configure and run a separate web server (like Apache) in order to use java, servlets and JSPs to generate dynamic content. Jetty is a fully featured web server for static and dynamic content. Unlike separate server/container solutions, this means that your web server and web application run in the same process, without interconnection overheads and complications. Furthermore, as a pure java component, Jetty can be simply included in your application for demonstration, distribution or deployment. Jetty is available on all Java supported platforms.

Open Source Jetty is devloped under the guidance of Mort Bay Consulting and released under the Apache 2.0 License . Full source code is included in all releases.The License puts few restrictions on usage of Jetty, which is free for commercial use and distribution. The developers of Jetty ask users to inform themselves of the issues, political, legal or otherwise that motivate and threaten the development of Open Source and Free Software. The Jetty user and development community is active and welcomes new contributors.

Small and Efficient Jetty has been optimized by commercial and experimental use since 1995 and a small and efficient server is the result:

  • A HTTP/1.1 server can be configured in a jar file under 350KB
  • Jetty consistently benchmarks as one of the fastest servlet servers
  • Jetty servers scale well to thousands of simultaneous connections
  • Server performance degrades gracefully under stress.

Production Proven Jetty has been widely used in commercial and open source projects and applications, ranging across the full spectrum of runtime environments from hand helds to main frames. To illustrate this diversity, we have put together a (far from exhaustive) list of Jetty Powered products. Here are just a few highlights:

  • Integrated with J2EE application servers such as Geronimo, JBoss, and JOnAS.
  • Bundled with the JXTA, Tapestry, Cocoon and numerous other Open Source projects.
  • Integrated with projects such as Jelly executable XML, Avalon Phoenix micro kernel and Maven project managment.
  • Included in many products including IBM Tivoli, Sonic MQ and Cisco SESM.

Embeddable For many applications, HTTP is just another interface protocol. Jetty can easily be embedded in such applications and products without adopting a WWW centric application architecture. Examples of embedded Jetty usage include:

  • Integrated with J2EE application servers such as Geronimo, JBoss, and JOnAS.
  • Bundled with the JXTA project as the basis for its HTTP transport
  • Included in many products products including IBM tivolli, Sonic MQ and Cisco SESM
  • Used for the CD demo disk in several books on XML and Servlets
  • Run on embedded systems and handheld devices

Licence: Apache License