Version: 9.4.5.v20170502 |
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services for sponsored feature development
Jetty implements aspects of the Java EE specification, primarily the Servlet Specification. Recent releases of the Java EE platform have introduced a Web Profile, recognizing that many developers need only a subset of the many technologies under the Java EE umbrella.
While Jetty itself does not ship all of the Web Profile technologies, Jetty architecture is such that you can plug in third party implementations to produce a container customized to your exact needs.
In the forthcoming Java EE-7 specification, the Web Profile reflects updates in its component specifications and adds some new ones:
Table 1.2. JavaEE7 Web Profile
JSR | Name | Included with jetty-9.1.x | Pluggable |
---|---|---|---|
Servlet Specification API 3.1 | Yes | ||
Java Server Faces 2.2 (JSF) | No | ||
Java Server Pages 2.3/Java Expression Language 3.0 (JSP/EL) | Yes | Yes | |
Java Standard Tag Library 1.2 (JSTL) | Yes | Yes | |
Debugging Support for Other Languages 1.0 | Yes (via JSP) | Yes (via JSP) | |
Contexts and Dependency Injection for the JavaEE Platform 1.1 (Web Beans) | No | Yes, Weld | |
Dependency Injection for Java 1.0 | No | Yes as part of a CDI implementation, Weld | |
Managed Beans 1.0 | No | Yes, as part of another technology | |
Enterprise JavaBeans 3.2 Lite | No | ||
Java Persistance 2.1 (JPA) | No | Yes, eg Hibernate | |
Common Annotations for the Java Platform 1.2 | Yes | Partially (for non-core Servlet Spec annotations) | |
Java Transaction API 1.2 (JTA) | Yes | Yes | |
Bean Validation 1.1 | No | Yes as part of another technology eg JSF, or a stand-alone implementation such as Hiberate Validator | |
Java API for RESTful Web Services 2.0 (JAX-RS) | No | ||
Java API for Websocket 1.0 | Yes | No | |
Java API for JSON Processing 1.0 (JSON-P) | No | Yes, eg JSON-P reference implementation | |
Interceptors 1.2 | No | Yes as part of a CDI implementation |
Here is the matrix of JSRs for Java EE 6 Web Profile, and how they relate to Jetty:
Table 1.3. Java EE 6 Web Profile
JSR | Name | Included with jetty-9.0.x | Pluggable |
---|---|---|---|
Servlet Specification API 3.0 | Yes | ||
JavaServer Faces 2.0 (JSF) | No | ||
JavaServer Pages 2.2/Java Expression Language 2.2 (JSP/EL) | Yes | Yes | |
Java Standard Tag Library 1.2 (JSTL) | Yes | Yes | |
Debugging Support for Other Languages 1.0 | Yes (via JSP) | Yes (via JSP) | |
Contexts and Dependency Injection for the Java EE Platform 1.0 (Web Beans) | No | Yes, Weld or OpenWebBeans | |
Dependency Injection for Java 1.0 | No | Yes as part of a CDI implementation, Weld | |
Managed Beans 1.0 | No | Yes, as part of another technology. | |
Enterprise JavaBeans 3.1 | No | Yes, OpenEJB | |
Java Persistance 2.0 (JPA) | No | Yes, Hibernate | |
Common Annotations for the Java Platform | Yes | Partially (for non-core Servlet Spec annotations) | |
Java Transaction API (JTA) | Yes | Implementations are pluggable, such as Atomikos, JOTM, Jencks (Geronimo Transaction Manager) | |
Bean Validation 1.0 | No | Yes as part of another technology (JSF), or a stand-alone implementation such as Hiberate Validator |