Jakarta EE explained
Jakarta EE, formerly Java Platform, Enterprise Edition (Java EE) and Java 2 Platform, Enterprise Edition (J2EE), is a set of specifications, extending Java SE[1] with specifications for enterprise features such as distributed computing and web services.[2] Jakarta EE applications are run on reference runtimes, which can be microservices or application servers, which handle transactions, security, scalability, concurrency and management of the components they are deploying.
Jakarta EE is defined by its specification. The specification defines APIs (application programming interface) and their interactions. As with other Java Community Process specifications, providers must meet certain conformance requirements in order to declare their products as Jakarta EE compliant.
Examples of contexts in which Jakarta EE referencing runtimes are used are: e-commerce, accounting, banking information systems.
History
The platform created by Sun Microsystems was known as Java 2 Platform, Enterprise Edition or J2EE from version 1.2, until the name was changed to Java Platform, Enterprise Edition or Java EE in version 1.5.
After Sun was acquired in 2009, Java EE was maintained by Oracle under the Java Community Process. On September 12, 2017, Oracle Corporation announced that it would submit Java EE to the Eclipse Foundation.[3] The Eclipse top-level project has been named Eclipse Enterprise for Java (EE4J).[4] The Eclipse Foundation could not agree with Oracle over the use of and Java trademarks.[5] Oracle owns the trademark for the name "Java" and the platform was renamed from Java EE to Jakarta EE.[6] [7] The name refers to the largest city on the island of Java and also the capital of Indonesia, Jakarta.[8] The name should not be confused with the former Jakarta Project which fostered a number of current and former Java projects at the Apache Software Foundation.
Java enterprise platform history! Platform version !! Release[9] !! Specification !! Support !! Important Changes| Jakarta EE 11 | [10] | 11 | | Data |
| Jakarta EE 10 | [11] | 10 | | Removal of deprecated items in Servlet, Faces, CDI and EJB (Entity Beans and Embeddable Container). CDI-Build Time. |
| [12] | 9.1 | | JDK 11 support |
| Jakarta EE 9 | [13] | 9 | Java SE 8 | API namespace move from to |
| Jakarta EE 8 | [14] | 8 | Java SE 8 | Full compatibility with Java EE 8 |
| Java EE 8 | 2017-08-31 | JSR 366 | Java SE 8 | HTTP/2 and CDI based Security |
| Java EE 7 | 2013-05-28 | JSR 342 | Java SE 7 | WebSocket, JSON and HTML5 support |
| Java EE 6 | 2009-12-10 | JSR 316 | Java SE 6 | CDI managed Beans and REST |
| Java EE 5 | 2006-05-11 | JSR 244 | Java SE 5 | Java annotations and Generics in Java |
| J2EE 1.4 | 2003-11-11 | JSR 151 | J2SE 1.4 | WS-I interoperable web services[15] |
| J2EE 1.3 | 2001-09-24 | JSR 58 | J2SE 1.3 | Java connector architecture[16] |
| J2EE 1.2 | 1999-12-17 | 1.2 | J2SE 1.2 | Initial specification release | |
Specifications
Jakarta EE includes several specifications that serve different purposes, like generating web pages, reading and writing from a database in a transactional way, and managing distributed queues.
The Jakarta EE APIs include several technologies that extend the functionality of the base Java SE APIs, such as Jakarta Enterprise Beans, connectors, servlets, Jakarta Server Pages and several web service technologies.
Web specifications
- Jakarta Servlet: defines how to manage HTTP requests, in a synchronous or asynchronous way. It is low level and other Jakarta EE specifications rely on it;
- Jakarta WebSocket: API specification that defines a set of APIs to service WebSocket connections;
- Jakarta Faces: a technology for constructing user interfaces out of components;
- Jakarta Expression Language (EL) is a simple language originally designed to satisfy the specific needs of web application developers. It is used specifically in Jakarta Faces to bind components to (backing) beans and in Contexts and Dependency Injection to named beans, but can be used throughout the entire platform.
Web service specifications
Enterprise specifications
- Jakarta Activation (JAF) specifies an architecture to extend component Beans by providing data typing and bindings of such types.
- Jakarta Contexts and Dependency Injection (CDI) is a specification to provide a dependency injection container;
- Jakarta Enterprise Beans (EJB) specification defines a set of lightweight APIs that an object container (the EJB container) will support in order to provide transactions (using JTA), remote procedure calls (using RMI or RMI-IIOP), concurrency control, dependency injection and access control for business objects. This package contains the Jakarta Enterprise Beans classes and interfaces that define the contracts between the enterprise bean and its clients and between the enterprise bean and the ejb container.
- Jakarta Persistence (JPA) are specifications about object-relational mapping between relation database tables and Java classes.
- Jakarta Transactions (JTA) contains the interfaces and annotations to interact with the transaction support offered by Jakarta EE. Even though this API abstracts from the really low-level details, the interfaces are also considered somewhat low-level and the average application developer in Jakarta EE is either assumed to be relying on transparent handling of transactions by the higher level EJB abstractions, or using the annotations provided by this API in combination with CDI managed beans.
- Jakarta Messaging (JMS) provides a common way for Java programs to create, send, receive and read an enterprise messaging system's messages.
Other specifications
- Jakarta Validation: This package contains the annotations and interfaces for the declarative validation support offered by the Jakarta Validation API. Jakarta Validation provides a unified way to provide constraints on beans (e.g. Jakarta Persistence model classes) that can be enforced cross-layer. In Jakarta EE, Jakarta Persistence honors bean validation constraints in the persistence layer, while JSF does so in the view layer.
- Jakarta Batch provides the means for batch processing in applications to run long running background tasks that possibly involve a large volume of data and which may need to be periodically executed.
- Jakarta Connectors is a Java-based tool for connecting application servers and enterprise information systems (EIS) as part of enterprise application integration (EAI). This is a low-level API aimed at vendors that the average application developer typically does not come in contact with.
Web profile
In an attempt to limit the footprint of web containers, both in physical and in conceptual terms, the web profile was created, a subset of the Jakarta EE specifications. The Jakarta EE web profile comprises the following:
| Specification | Java EE 6[17] | Java EE 7[18] | Java EE 8[19] Jakarta EE 8[20] | Jakarta EE 9[21] Jakarta EE 9.1[22] | Jakarta EE 10[23] | Jakarta EE 11[24] |
|---|
| 3.0 | 3.1 | 4.0 | 5.0 | 6.0 | 6.1 |
| Jakarta Server Pages (JSP) | 2.2 | 2.3 | 2.3 | 3.0 | 3.1 | 4.0 |
| Jakarta Expression Language (EL) | 2.2 | 3.0 | 3.0 | 4.0 | 5.0 | 6.0 |
| Jakarta Debugging Support for Other Languages (JSR-45) | 1.0 | 1.0 | 1.0 | 2.0 | 2.0 | 2.0 |
| Jakarta Standard Tag Library (JSTL) | 1.2 | 1.2 | 1.2 | 2.0 | 3.0 | 3.0 |
| 2.0 | 2.2 | 2.3 | 3.0 | 4.0 | 4.1 |
| Jakarta RESTful Web Services (JAX-RS) | 1.1 | 2.0 | 2.1 | 3.0 | 3.1 | 4.0 |
| Jakarta WebSocket (WebSocket) | | 1.0 | 1.1 | 2.0 | 2.1 | 2.2 |
| Jakarta JSON Processing (JSON-P) | | 1.0 | 1.1 | 2.0 | 2.1 | 2.1 |
| Jakarta JSON Binding (JSON-B) | | | 1.1 | 2.0 | 3.0 | 3.0 |
| Jakarta Annotations (CA) | 1.1 | 1.2 | 1.3 | 2.0 | 2.1 | 3.0 |
| Jakarta Enterprise Beans (EJB) | 3.1 Lite | 3.2 Lite | 3.2 Lite | 4.0 Lite | 4.0 Lite | 4.0 Lite |
| Jakarta Transactions (JTA) | 1.1 | 1.2 | 1.2 | 2.0 | 2.0 | 2.0 |
| Jakarta Persistence (JPA) | 2.0 | 2.1 | 2.2 | 3.0 | 3.1 | 3.2 |
| 1.0 | 1.1 | 2.0 | 3.0 | 3.0 | 3.1 |
| 1.0 | 1.0 | 1.0 | 2.0 | | N/a |
| 1.1 | 1.2 | 1.2 | 2.0 | 2.1 | 2.2 |
| Jakarta Contexts and Dependency Injection (CDI) | 1.0 | 1.1 | 2.0 | 3.0 | 4.0 | 4.1 |
| 1.0 | 1.0 | 1.0 | 2.0 | 2.0 | 2.0 |
| | | 1.0 | 2.0 | 3.0 | 4.0 |
| | 1.0 | 1.1 | 2.0 | 3.0 | 3.1 |
| | | | | 3.0 | 3.1 |
|
Certified referencing runtimes
Although by definition all Jakarta EE implementations provide the same base level of technologies (namely, the Jakarta EE spec and the associated APIs), they can differ considerably with respect to extra features (like connectors, clustering, fault tolerance, high availability, security, etc.), installed size, memory footprint, startup time, etc.
Jakarta EE
| Referencing runtime[25] [26] [27] | Developer | Jakarta EE 10 Platform | Jakarta EE 9/9.1 Platform Compatible Products | Jakarta EE 9/9.1 Web Profile Compatible Products | Jakarta EE 8 Platform Compatible Products | Jakarta EE 8 Web Profile Compatible Products | Licensing |
|---|
| GlassFish | Eclipse | 7.0.0 | 6.0.0/ 6.1.0 | 6.0.0/ 6.1.0 | 5.1.0 | 5.1.0 | |
| Open Liberty | IBM | 22.0.0.13-beta,[28] 23.0.0.3[29] | 21.0.0.12 | 21.0.0.12 | 19.0.0.6, 20.0.0.3 | 19.0.0.6, 20.0.0.3 | |
| WebSphere Liberty | IBM | 23.0.0.3 | 21.0.0.12 | 21.0.0.12 | 20.0.0.3 | 20.0.0.3 | |
| WildFly | Red Hat | 27.0.0.Alpha5 | 23.0.1-Preview/25.0.0-Preview | 23.0.1-Preview/25.0.0-Preview | 18.0.0 | 18.0.0 | |
| JBoss EAP | Red Hat | 8.0.0 | | | 7.3.0 | 7.3.0 | |
| TomEE | Apache | 10.x | 9.x | 9.x | 8.x | 8.x | |
| Payara Server | Payara Services Limited | 6.2022.1 Alpha 4 | 6.2021.1 Alpha 1 | | 5.22.0, 5.23.0 | 5.23.0 | |
| Thunisoft Application Server | Beijing Thunisoft Information Technology | | 3.0 | | 2.8 | | |
| JEUS | TmaxSoft | | | | 8.5 | | |
| InforSuite Application Server | Shandong Cvicse Middleware | | 11 | | 10 | | |
| WebOTX | NEC | 12 | | | 11 | | |
|
Java EE
Code sample
The code sample shown below demonstrates how various technologies in Java EE 7 are used together to build a web form for editing a user.
In Jakarta EE a (web) UI can be built using Jakarta Servlet, Jakarta Server Pages (JSP), or Jakarta Faces (JSF) with Facelets. The example below uses Faces and Facelets. Not explicitly shown is that the input components use the Jakarta EE Bean Validation API under the covers to validate constraints.
Example Backing Bean class
To assist the view, Jakarta EE uses a concept called a "Backing Bean". The example below uses Contexts and Dependency Injection (CDI) and Jakarta Enterprise Beans (EJB).
import java.io.Serializable;
import jakarta.inject.Named;import jakarta.faces.view.ViewScoped;import jakarta.inject.Inject;
@Named@ViewScopedpublic class UserEdit implements Serializable
Example Data Access Object class
To implement business logic, Jakarta Enterprise Beans (EJB) is the dedicated technology in Jakarta EE. For the actual persistence, JDBC or Jakarta Persistence (JPA) can be used. The example below uses EJB and JPA. Not explicitly shown is that JTA is used under the covers by EJB to control transactional behavior.
import java.util.List;
import jakarta.ejb.Stateless;import jakarta.persistence.EntityManager;import jakarta.persistence.PersistenceContext;import jakarta.persistence.TypedQuery;
@Statelesspublic class UserDAO
Example Entity class
For defining entity/model classes Jakarta EE provides the Jakarta Persistence (JPA), and for expressing constraints on those entities it provides the Bean Validation API. The example below uses both these technologies.
import jakarta.persistence.Entity;import jakarta.persistence.Id;import jakarta.persistence.GeneratedValue;import jakarta.persistence.GenerationType;
@Entitypublic class User
See also
External links
Notes and References
- Web site: Differences between Java EE and Java SE - Your First Cup: An Introduction to the Java EE Platform . Docs.oracle.com . 2012-04-01 . 2012-07-18.
- Web site: Java EE Overview . February 26, 2017 . Oracle Corporation.
- Web site: Waters . John K. . 2017-09-12 . mdy . Java EE Is Moving to the Eclipse Foundation . ADTmag . 2017-09-13.
- Web site: EE4J FAQ . Wayne . Beaton . Eclipse Foundation.
- Web site: Milinkovich . Mike . 2019-05-03 . mdy . Update on Jakarta EE Rights to Java Trademarks . Blog . Life at Eclipse . 2024-07-25.
- News: Chirgwin . Richard . 2018-03-04 . mdy . Java EE renamed 'Jakarta EE' after Big Red brand spat . Software . . 19 March 2018.
- News: Vaughan-Nichols . Steven J. . 2018-03-05 . mdy . Good-bye JEE, hello Jakarta EE . Linux and Open Source . . 2020-07-10.
- Web site: Tijms . Arjan . 2020-02-27 . mdy . Transition From Java EE to Jakarta EE . Java Magazine . blogs.oracle.com . 2024-07-25.
- Web site: Jakarta EE Releases . Jakarta EE . . 2024-07-17.
- Harris . Jacob . 2025-06-26 . ymd . The Eclipse Foundation’s Jakarta EE Working Group Announces Jakarta EE 11 Release . News . Jakarta EE . . 2025-11-17.
- Obradovic . Tanja . Grimstad . Ivar . 2022-09-22 . ymd . The Eclipse Foundation's Jakarta EE Working Group Releases Jakarta EE 10 to Usher in the Era of Cloud Native Java . News . Jakarta EE . . 2024-07-17.
- Obradovic . Tanja . Grimstad . Ivar . 2021-05-25 . ymd . The Jakarta EE Working Group Releases Jakarta EE 9.1 as Industry Continues to Embrace Open Source Enterprise Java . News . Jakarta EE . . 2022-03-05.
- Mmayel . Shabnam . Obradovic . Tanja . 2020-12-08 . ymd . Jakarta EE 9 Released! . News . Jakarta EE . . 2022-03-05.
- Mmayel . Shabnam . Obradovic . Tanja . 2019-09-10 . ymd . Jakarta EE 8 Released! . News . Jakarta EE . . 2022-03-05.
- Web site: Krill . Paul . 2003-11-21 . mdy . J2EE 1.4 spec certified . Software Development . . 2022-03-05.
- Web site: Copeland . Lee . 2001-09-24 . mdy . Sun unveils J2EE 1.3 . Software Development . . 2022-03-05.
- Web site: JSR 316: Java Platform, Enterprise Edition 6 (Java EE 6) Specification . . . 2022-03-05.
- Web site: JSR 342: Java Platform, Enterprise Edition 7 (Java EE 7) Specification . . . 2022-03-05.
- Web site: Java Platform, Enterprise Edition 8 (Java EE 8) Web Profile Specification . https://ghostarchive.org/archive/20221009/https://javaee.github.io/javaee-spec/download/JavaEE8_WebProfile_Spec_FinalRelease.pdf . 2022-10-09 . live . . . 2022-02-05.
- Web site: Web Profile Definition . Jakarta EE WebProfile . 8 . Jakarta EE . . 2022-03-05.
- Web site: Web Profile Definition . Jakarta EE WebProfile . 9 . Jakarta EE . . 2022-03-05.
- Web site: Web Profile Definition . Jakarta EE WebProfile . 9.1 . Jakarta EE . . 2022-03-05.
- Web site: Web Profile Definition . Jakarta EE WebProfile . 10 . Jakarta EE . . 2022-09-27.
- Web site: Web Profile Definition . Jakarta EE WebProfile . 11 . Jakarta EE . . 2025-12-27.
- Web site: Jakarta EE Compatible Products. Jakarta.ee.
- Web site: Jakarta EE 9 Compatible Products. Jakarta.ee.
- Web site: Jakarta EE 8 Compatible Products. Jakarta.ee.
- Web site: Jakarta EE 10 Platform and MicroProfile 6 in Open Liberty 23.0.0.1-beta. openliberty.io.
- Web site: Jakarta EE 10, MicroProfile 6, and Java SE 20 support in Open Liberty 23.0.0.3. openliberty.io.
- Web site: Java EE Compatibility. www.oracle.com. 2018-08-05.
- Web site: Comparing GlassFish Open Source Edition versions 2.x and 3.0.x. https://archive.today/20121220022558/https://glassfish.dev.java.net/public/comparing_v2_and_v3.html. dead. 2012-12-20.
- Web site: Java EE Compatibility . Java.sun.com . 2010-09-07 . 2012-07-18.
- Web site: Oracle Weblogic Server 14.1.1. www.oracle.com.
- Web site: Oracle Weblogic Server 12.1.1. www.oracle.com.
- Web site: Oracle Web Logic Server 12c: Developing Modern, Lightweight Java EE 6 Applications . Will. Lyons . Pieter. Humphrey . 2011 . 2011-12-03 . dead . https://web.archive.org/web/20111215182732/http://wcc.on24.com/event/37/57/27/rt/1/documents/player_docanchr_3/weblogic12c_launch_tech_webinar_v8.pdf . 2011-12-15 .
- Web site: Java EE Compatibility. www.oracle.com.
- Web site: JBoss AS 7.1.0.Final "Thunder" released - Java EE 6 Full Profile certified! | My Wiki | Planet JBoss Community . Planet.jboss.org . 2012-02-17 . 2012-07-18.
- Web site: JBoss Application Server - JBoss Community.
- Web site: JBoss Application Server - JBoss Community.
- Web site: Java EE Compatibility.
- Web site: JBoss AS is now EE5 certified!. 15 September 2008. 7 August 2016. https://web.archive.org/web/20080920223001/http://sacha.labourey.com/2008/09/15/jboss-as-is-now-ee5-certified/. 20 September 2008. dead.
- Web site: Red Hat JBoss Enterprise Application Platform 7.2 Availability.
- Web site: Java EE Compatibility.
- Web site: Red Hat Launches JBoss Enterprise Application Platform 6 to Help Enterprises Move Application Development and Deployment to the Cloud . https://web.archive.org/web/20161111102348/http://www.businesswire.com/news/home/20120620005266/en/Red-Hat-Launches-JBoss-Enterprise-Application-Platform . Business Wire . 2012-06-20 . 2012-07-18 . 2016-11-11.
- Web site: What's new in WebSphere Application Server V8 . Ibm.com . 2012-07-18.
- Web site: IBM WebSphere Application Server Liberty delivers the first production-ready, Java EE 8-compatible application server and broadens support for Spring Boot applications. IBM. 10 July 2018 . 12 July 2018.
- Web site: Java EE 7 - Tested Configurations- IBM WebSphere Application Server Liberty Profile. Oracle.com.
- Web site: Java EE 7 has landed in WAS Liberty - WASdev. 25 June 2015.
- Web site: IBM Java EE 6 Web Profile Tested Configurations.
- Web site: Apache Geronimo : Index. January 25, 2010. geronimo.apache.org.
- Web site: Apache Geronimo fully certified for Java EE 6 - The H Open: News and Features . https://web.archive.org/web/20120420064218/http://www.h-online.com/open/news/item/Apache-Geronimo-fully-certified-for-Java-EE-6-1378384.html . 20 April 2012. H-online.com . 2011-11-14 . 2012-07-18.
- Web site: Tested Configurations, Java EE 6 - TMAX JEUS 7 . Oracle.com . 2010-09-07 . 2012-07-18.
- Web site: Java EE6 Web Application Server, WAS Software . Us.tmaxsoft.com . 2012-07-18 . dead . https://web.archive.org/web/20120702045326/http://us.tmaxsoft.com/jsp/product/detailcontents.jsp?psCd=00PD04&menuCd=00PDMSJE . 2012-07-02 .
- Web site: Java EE 6 - Tested Configurations, Java EE 6 - Hitachi uCosminexus Application Server v9.0. Oracle.com.
- Web site: Fujitsu Interstage Application Server powered by Windows Azure. https://web.archive.org/web/20110810160631/http://www.fujitsu.com/global/services/software/windows-azure/. dead. August 10, 2011.
- Web site: Tested Configurations, Java EE6 - Fujitsu Interstage . Oracle.com . 2010-09-07 . 2012-07-18.
- Web site: Fujitsu Releases Interstage Application Server V10.1. Fujitsu.
- Web site: NEC WebOTX Application Server V9.x Certification.
- Web site: Apache TomEE . Openejb.apache.org . 2012-07-18.
- Web site: MarketWatch.com . MarketWatch.com . 2012-07-18.
- Web site: Apache TomEE 7.0.1. Apache. TomEE.
- Web site: Resin Application Server Java EE 6 Web Profile. https://ghostarchive.org/archive/20221009/http://www.caucho.com/articles/Caucho_Web%20Profile%20JavaEE6_whitepaper_byRR.pdf . 2022-10-09 . live. 2011. caucho.com.
- Web site: Please Welcome Siwpas as Java EE Certified Option! . Oracle.com . 2015-12-07.
- Web site: JOnAS 5.3.0 RC1 released . 2013-01-07 . jonas.ow2.org . 2014-02-25 . dead . https://web.archive.org/web/20131015132408/http://jonas.ow2.org/xwiki/bin/view/Blog/JOnAS+530+RC1+released . 2013-10-15 .
- Web site: SAP NetWeaver Cloud Java EE 6 Web Profile Certified! (The Aquarium).
- Web site: SAP Software Solutions - Business Applications and Technology. 2010-05-03. 2009-12-07. https://web.archive.org/web/20091207155457/http://www.sybase.com/products/modelingdevelopment/easerver. dead.