On this page
1Concept
Jakarta EE is the current name of the standard enterprise Java platform that began life in 1999 as J2EE. Across twenty-five years it has had three stewards — Sun Microsystems, Oracle, and now the Eclipse Foundation — and two renamings. The second renaming also forced a change to every package name in the platform, from javax.* to jakarta.*, which is the single most consequential event in the platform's history from a migration point of view.
The lineage matters because you will meet all three generations in the same organisation: a J2EE 1.4 system nobody dares touch, a Java EE 7 system in maintenance, and a Jakarta EE 11 greenfield service. An architect has to be able to speak about all three and, more importantly, to price the distance between them.
2Why this matters
- Migration estimates. “Move from Java EE 8 to Jakarta EE 10” sounds like a minor version bump. It is not — it crosses the namespace break. Getting this wrong turns a two-week estimate into a two-quarter project.
- Reading documentation. Stack Overflow answers, books and blog posts span all three eras. If you cannot tell which era an example comes from, you will copy imports that no longer exist.
- Explaining the ecosystem. Spring, Hibernate, Tomcat and Jetty all had to cross the same namespace boundary. Their version numbers changed for the same reason yours did.
- Vendor conversations. “Are you Jakarta EE 11 certified, and for which profile?” is a question that only makes sense once you understand the governance history in note 1.2.

3The eras in detail
3.1 J2EE — Java 2 Platform, Enterprise Edition (1999–2005)
J2EE was created to standardise what large vendors were already selling as proprietary application servers. The promise was that a WAR or EAR built to the specification would deploy on any compliant server.
- J2EE 1.2 (1999) — Servlets, JSP, EJB 1.1, JMS, JTA, JNDI, RMI-IIOP. The first bundle.
- J2EE 1.3 (2001) — EJB 2.0 with container-managed persistence and local interfaces, the Connector Architecture (JCA).
- J2EE 1.4 (2003) — Web services (JAX-RPC), management and deployment APIs. Also the high-water mark of complexity.
The defining characteristic of this era was configuration by XML deployment descriptor. A single entity bean needed a home interface, a remote interface, an implementation class and a large block of ejb-jar.xml. Component classes had to implement framework interfaces, which made them untestable outside a running server.
<!-- J2EE 1.4 era: the bean is defined mostly outside the Java code -->
<enterprise-beans>
<session>
<ejb-name>PaymentServiceBean</ejb-name>
<home>com.acme.PaymentServiceHome</home>
<remote>com.acme.PaymentService</remote>
<ejb-class>com.acme.PaymentServiceBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>This is the era that gave enterprise Java its reputation for ceremony, and it is the reason Spring gained traction: it offered dependency injection and declarative transactions on plain objects, without the ceremony.
3.2 Java EE — the annotation-driven rewrite (2006–2017)
The “2” was dropped and, far more importantly, the programming model was rebuilt around annotations and convention over configuration. This is where the platform became pleasant to use.
| Release | Year | What it changed |
|---|---|---|
| Java EE 5 | 2006 | Annotations replace descriptors. EJB 3.0 — a session bean is a POJO with @Stateless. JPA 1.0 absorbs the lessons of Hibernate and TopLink. |
| Java EE 6 | 2009 | CDI 1.0 — a unified injection and lifecycle model. The Web Profile is introduced. Servlet 3.0 brings annotations and async. Bean Validation and JAX-RS 1.1 arrive. |
| Java EE 7 | 2013 | WebSocket, JSON-P, Batch, Concurrency Utilities. JAX-RS 2.0 gains a client API. JMS 2.0 simplifies the API dramatically. |
| Java EE 8 | 2017 | JSON-B, Security API 1.0, Servlet 4.0 with HTTP/2, JAX-RS 2.1 with reactive and SSE support. The last release under Oracle. |
// Java EE 5 onwards: the same service, expressed entirely in Java
@Stateless
public class PaymentServiceBean implements PaymentService {
@PersistenceContext
private EntityManager em;
@Override
public void settle(Long orderId) {
Order order = em.find(Order.class, orderId);
order.markSettled();
}
}3.3 Oracle stewardship and the handover (2010–2017)
Oracle acquired Sun in 2010 and inherited the platform. Java EE 7 and 8 were delivered, but the cadence slowed noticeably, and between 2015 and 2016 progress on Java EE 8 stalled to the point where the community organised a public campaign to restart it. In 2017 Oracle announced it would move the platform to an open foundation, and the Eclipse Foundation was selected.
THE CRUCIAL DETAIL Oracle donated the code, the specifications and the TCKs — but kept the “Java” trademark and the javax namespace. That single decision produced everything in section 3.5.

3.4 The Eclipse Foundation era
The platform was rehosted under a new Eclipse top-level project called EE4J (Eclipse Enterprise for Java), and the name Jakarta EE was chosen by community vote. Governance moved from the Java Community Process to a new, lighter, fully open process — the Jakarta EE Specification Process — covered in note 1.2.
- Jakarta EE 8 (2019) — technically identical to Java EE 8. Same
javax.*packages. Its only purpose was to prove the new process end to end: same content, new home, new governance. - Jakarta EE 9 (2020) — the “big bang” release. No new features at all; every package renamed from
javax.*tojakarta.*. Deliberately feature-free so that migration could be evaluated in isolation. - Jakarta EE 9.1 (2021) — Jakarta EE 9 certified for Java SE 11.
- Jakarta EE 10 (2022) — the first release with genuinely new content under Eclipse. The Core Profile is introduced. CDI is split into CDI Lite and CDI Full. Java SE 11 minimum, Java SE 17 supported.
- Jakarta EE 11 (2025) — Java SE 17 minimum with Java SE 21 support, virtual threads in Jakarta Concurrency, the new Jakarta Data specification, records support, removal of the SecurityManager requirement, and removal of the XML web services specifications.
3.5 javax → jakarta: the namespace break
Because Oracle retained the javax namespace, the donated specifications could not evolve their existing packages or add new ones. Two options were debated: a gradual per-specification migration, or a single coordinated rename. The community chose the big bang, on the grounds that a slow migration would leave the ecosystem in a mixed state for years and make every dependency graph a minefield.

| Question | Answer |
|---|---|
| Is the rename mechanical? | Almost entirely. The package prefix changes; class names, method signatures and semantics do not. |
| Can I mix the two? | Not within one specification. A jakarta.servlet container will not see a javax.servlet.Servlet. It simply is not the same type. |
| Which javax packages stayed? | Everything that ships in the JDK: javax.sql, javax.naming, javax.net.ssl, javax.crypto, javax.xml.parsers, javax.management. |
| What about third-party libraries? | They had to be rebuilt too. Hibernate 6, Tomcat 10, Jetty 11, Spring Framework 6 / Spring Boot 3 are the jakarta.* generations. |
| Is there tooling? | Yes — the Eclipse Transformer and the Apache Tomcat Migration Tool rewrite bytecode and source. They handle the mechanical 95%. |
4Practical: what a migration actually looks like
The work splits into three buckets, and only the third one costs real time.
- Imports and string literals. Rewrite
javax.tojakarta.in source, inweb.xml/persistence.xmlschema URLs, inbeans.xml, and in any class name held as a string (JNDI lookups, reflective factory names, Spring XML). Tooling handles nearly all of this. - Dependency coordinates. Every API artifact changed its Maven groupId or artifactId. So did every library that exposes a platform type on its API surface.
- Transitive contamination. A single old library that still carries
javax.servlettypes on its public API will drag the old namespace back into your classpath. This is where migrations actually stall.
<!-- Before: Java EE 8 / Jakarta EE 8 -->
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
<!-- After: Jakarta EE 11 -->
<dependency>
<groupId>jakarta.platform</groupId>
<artifactId>jakarta.jakartaee-api</artifactId>
<version>11.0.0</version>
<scope>provided</scope>
</dependency>provided scope is correct in both cases — the server supplies the API.// Before — Java EE 8
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
// After — Jakarta EE 9+ (identical code below the import block)
import jakarta.enterprise.context.RequestScoped;
import jakarta.inject.Inject;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
@Path("/orders")
@RequestScoped
public class OrderResource {
@Inject
OrderService service;
@GET
public List<Order> list() {
return service.findAll();
}
}MIGRATION ORDER THAT WORKS Upgrade the JDK first, then the server, then the namespace, then the feature versions — one axis at a time. Teams that change all four at once cannot tell which change broke the build.
5Common mistakes
- Treating EE 8 → EE 10 as a minor upgrade. It crosses the namespace break. Treat it as a major migration regardless of the version arithmetic.
- Renaming
javax.sqland friends. A blind find-and-replace across the codebase will happily breakjavax.sql.DataSource, which never moved. Use the proper tooling, which knows the exclusion list. - Shipping the API jar inside the WAR. Always
provided. Bundlingjakarta.servlet-apiinWEB-INF/libproduces class-loading conflicts that manifest asLinkageErroror bizarreClassCastExceptions between two identically-named classes. - Forgetting XML namespaces.
web.xmlandpersistence.xmlreference schema URLs that changed fromjava.sun.com/xmlns.jcp.orgtojakarta.ee. A stale schema URL often fails silently rather than loudly. - Assuming Jakarta EE 8 and Java EE 8 differ. They do not, technically. If someone says “we upgraded to Jakarta EE 8”, they changed nothing but the branding of their server.
6Version reference
| Platform version | Namespace | Minimum Java SE | Headline change |
|---|---|---|---|
| Java EE 7 (2013) | javax | 7 | WebSocket, JSON-P, Batch, Concurrency |
| Java EE 8 (2017) | javax | 8 | JSON-B, Security API, Servlet 4 / HTTP2 |
| Jakarta EE 8 (2019) | javax | 8 | Same content — new steward and process |
| Jakarta EE 9 (2020) | jakarta | 8 | Namespace rename only, no new features |
| Jakarta EE 9.1 (2021) | jakarta | 11 | EE 9 certified on Java SE 11 |
| Jakarta EE 10 (2022) | jakarta | 11 | Core Profile, CDI Lite, first real feature release |
| Jakarta EE 11 (2025) | jakarta | 17 (21 supported) | Jakarta Data, virtual threads, records, SecurityManager removed |
| Jakarta EE 12 (in progress) | jakarta | 21 planned | Consistency and configuration theme; Jakarta Query proposed |
CURRENCY NOTE Jakarta EE 11 reached the Core Profile in December 2024, the Web Profile in March 2025 and the full Platform in mid-2025. Jakarta EE 12 was still in milestone development as of late 2026, targeting a Java SE 21 baseline. Check jakarta.ee/specifications before quoting dates in a design document.
7How to verify this yourself
- Open
jakarta.ee/specifications/platform/and compare the specification list for versions 8, 10 and 11 side by side. The additions and removals are listed explicitly in each specification document's revision appendix. - Download any
jakarta.jakartaee-apijar and runjar tfon it. Confirm that every package begins withjakarta.and that nojavax.entries remain. - Take a small Java EE 8 sample application and run the Eclipse Transformer over the built WAR. Deploy the transformed artifact to a Jakarta EE 10 server without recompiling and watch it start.
- Grep your own dependency tree for the old namespace:
mvn dependency:treefollowed by a scan forjavax.servlet,javax.persistenceandjavax.ws.rs. Anything that appears is a migration blocker.
7AArchitect's perspective and production planning
The platform's history is not just background; it shapes decisions an architect makes today. Three questions come up in almost every enterprise Java estate.
Which runtime generation should a new system target? New systems should start on the jakarta namespace, on a current platform release such as Jakarta EE 10 or 11, or on Spring Boot 3 or later, which is built on Jakarta EE APIs. Starting a new system on javax-era technology means scheduling a forced migration before the system has even settled. Choose the runtime by its certification status, its support window and the vendor's release history, not only by the specification version it claims to implement, because certified implementations often arrive months after a specification is final.
How should an estate with many javax applications be modernised? Treat the namespace break as a portfolio decision, not a set of unrelated upgrades. Start with a dependency audit across all applications to find shared libraries and unmaintained components that block migration, because one internal library still exposing javax types can hold back dozens of applications. Migrate shared libraries first, publish jakarta versions, then move applications in waves. During the transition, accept that two runtime generations will run side by side, and keep them on separate server instances or container images rather than mixing namespaces in one deployment.
What does this mean in production? Every application should have a recorded platform version, Java version and end-of-support date, so upgrades are planned rather than triggered by a vulnerability. Base images and server configurations should be standardised per platform generation, and the transformation tooling used for the migration should run in the pipeline so that the build, not a developer's memory, guarantees the namespace is consistent. Finally, keep the decision and its reasoning in an architecture decision record: the namespace break will be revisited by every team that inherits a legacy application, and a written rationale saves each of them from rediscovering it.
8Interview questions and answers
Why was the platform renamed from Java EE to Jakarta EE?
When Oracle donated the platform to the Eclipse Foundation in 2017, it transferred the code, specifications and TCKs but retained the “Java” trademark. The Eclipse Foundation therefore could not continue to call the platform “Java EE”. The community voted on a replacement name and chose Jakarta EE. The rename was a trademark consequence, not a technical decision — Jakarta EE 8 was byte-for-byte equivalent in scope to Java EE 8.
Why did every package have to change from javax to jakarta?
For the same reason as the name: Oracle retained control of the javax namespace. The donated specifications were allowed to keep existing javax.* packages frozen but were not permitted to evolve them or add new ones. Since a platform that can never change a package is a dead platform, the only viable path forward was to move the entire namespace to jakarta.*.
The community chose a single coordinated “big bang” in Jakarta EE 9 rather than a gradual per-specification migration, so that the ecosystem spent the minimum possible time in a mixed state.
What was actually in Jakarta EE 9, and why would anyone release a version with no new features?
Jakarta EE 9 contained exactly one change: the namespace rename. That was deliberate. By shipping a release with no functional changes, the community made the migration measurable in isolation — if your application broke, it broke because of the rename, not because of a behaviour change in Servlet or CDI. It also gave vendors and library maintainers a stable target to port against before feature work resumed in Jakarta EE 10.
Which javax packages did NOT move to jakarta, and why?
Anything that belongs to Java SE rather than the enterprise platform stayed put, because it was never part of the donation. Examples: javax.sql, javax.naming, javax.net.ssl, javax.crypto, javax.xml.parsers, javax.management, javax.security.auth.
The practical rule: if the JDK ships it, it is still javax. If the application server ships it, it is now jakarta. This is also why a naive global find-and-replace is dangerous — it will rewrite javax.sql.DataSource into a class that does not exist.
A team says they are on Java EE 8 and wants to move to Jakarta EE 10. How do you size that work?
I would not treat it as a version bump. It crosses the namespace break, so I would scope it as three separate workstreams:
- Mechanical rewrite — imports, XML schema URLs, string-based class names. Largely automated with the Eclipse Transformer; usually days.
- Dependency upgrade — every library that exposes a platform type on its API must move to its
jakartageneration: Hibernate 6+, Tomcat 10+, Spring 6 / Boot 3, and so on. This is the bulk of the effort. - Runtime and JDK — Jakarta EE 10 requires Java SE 11 minimum, so a JDK upgrade may be bundled in.
The risk is concentrated in the second bucket. One unmaintained library that still exposes javax.servlet types on its public API can block the whole migration, and the fix is either fork it, replace it, or shim it. I would spend the first week doing nothing but a dependency audit.
What did the Java EE 5 release change, and why is it considered the turning point?
Java EE 5 replaced XML deployment descriptors with annotations and rebuilt EJB around plain Java objects. A stateless service went from four artefacts — home interface, remote interface, implementation class and a descriptor block — to a single class annotated @Stateless. JPA 1.0 arrived at the same time, standardising what Hibernate and TopLink had proven in the field.
It is the turning point because it removed the specific complaints that had driven developers to Spring: ceremony, untestable components and configuration living outside the code.
Is Jakarta EE 8 different from Java EE 8?
Technically, no. Jakarta EE 8 has the same specifications, the same versions and the same javax.* packages. The difference is entirely in governance: it was the first release produced under the Eclipse Foundation and the new Jakarta EE Specification Process. Its purpose was to prove the new process worked end to end — including running and publishing TCK results — before any content changed.
What are the headline changes in Jakarta EE 11?
- Java SE 17 minimum, with Java SE 21 explicitly supported.
- Jakarta Data 1.0 — a new specification bringing repository-style data access into the platform.
- Virtual threads supported through Jakarta Concurrency for applications on Java 21.
- Java records usable more broadly, including as embeddables in Jakarta Persistence 3.2.
- SecurityManager requirement removed, aligning with JEP 411.
- Removals: Jakarta XML Web Services, XML Binding and SOAP with Attachments left the platform; the CORBA interoperability requirement was dropped. Managed Beans was deprecated for removal.
The theme is cleanup and cloud-native alignment: drop the pieces that nobody deploys any more, and lean into the modern JDK.
Why does the platform have a two-year release cadence now, and what does that mean for planning?
Under the Eclipse Foundation the working group targets a major release roughly six to nine months after each Java SE LTS, which produces an approximately two-year rhythm. For planning, that means the platform version you adopt has a predictable shelf life and a predictable JDK baseline — Jakarta EE 10 pairs with Java 11/17, Jakarta EE 11 with Java 17/21.
In practice, vendor implementations lag the specification by months, so the realistic question is not “when is the spec final” but “when will my chosen runtime be certified for it”. Jakarta EE 11 itself slipped by about a year while the TCK was modernised, which then pushed Jakarta EE 12 back as well.
Test your knowledge on this topic →Flashcards from this topic's 9 questions, filtered by level and type.