Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Jakarta EE
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Set of specifications extending Java SE}} {{Infobox software platform | name = Jakarta EE | icon = [[File:Jakarta ee logo schooner color stacked default.svg|frameless|Jakarta EE logo schooner color stacked default]] | image = | caption = | target = <!--operating systems that the platform publishes applications/content for--> | editor = <!--editor software for the platform--> | runtime = [[Java (software platform)|Java]] | format = <!--major file formats on the platform--> | language = [[Java (programming language)|Java]] | application = [[Application server]] | status = Active | license = [[Eclipse Public License]] or [[GNU General Public License]] w/[[Classpath exception]] | website = {{URL|jakarta.ee/}} }} {{java platforms}} '''Jakarta EE''', formerly '''Java Platform, Enterprise Edition''' ('''Java EE''') and '''Java 2 Platform, Enterprise Edition''' ('''J2EE'''), is a set of specifications, extending [[Java SE]]<ref>{{cite web |url=http://docs.oracle.com/javaee/6/firstcup/doc/gkhoy.html |title=Differences between Java EE and Java SE - Your First Cup: An Introduction to the Java EE Platform |publisher=Docs.oracle.com |date=2012-04-01 |access-date=2012-07-18}}</ref> with specifications for enterprise features such as [[distributed computing]] and [[web service]]s.<ref>{{cite web |url=https://www.oracle.com/technetwork/java/javaee/overview/index.html |title=Java EE Overview |access-date=February 26, 2017 |publisher=[[Oracle Corporation]]}}</ref> Jakarta EE applications are run on [[reference implementation|reference runtime]]s, which can be [[microservices]] or [[application server]]s, which handle transactions, security, scalability, [[Concurrency (computer science)|concurrency]] and management of the components they are deploying. Jakarta EE is defined by its [[program specification|specification]]. The specification defines [[API]]s (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 system]]s. == 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 [[acquisition of Sun Microsystems by Oracle Corporation|Sun was acquired in 2009]], Java EE was maintained by [[Oracle Corporation|Oracle]] under the [[Java Community Process]]. On September 12, 2017, [[Oracle Corporation]] announced that it would submit Java EE to the [[Eclipse Foundation]].<ref>{{cite web |last=Waters |first=John K. |date=2017-09-12 |df=mdy |url=https://adtmag.com/articles/2017/09/12/java-ee-moving-to-eclipse.aspx |title=Java EE Is Moving to the Eclipse Foundation |website=ADTmag |access-date=2017-09-13}}</ref> The Eclipse top-level project has been named Eclipse Enterprise for Java (EE4J).<ref>{{cite web |url=https://www.eclipse.org/ee4j/faq.php |title=EE4J FAQ |first=Wayne |last=Beaton |website=[[Eclipse Foundation]]}}</ref> The Eclipse Foundation could not agree with Oracle over the use of {{code|javax}} and Java trademarks.<ref>{{cite web |last=Milinkovich |first=Mike |date=2019-05-03 |df=mdy |url=https://eclipse-foundation.blog/2019/05/03/jakarta-ee-java-trademarks/ |title=Update on Jakarta EE Rights to Java Trademarks |department=Blog |work=Life at Eclipse |access-date=2024-07-25}}</ref> Oracle owns the trademark for the name "Java" and the platform was renamed from Java EE to Jakarta EE.<ref>{{cite news |last1=Chirgwin |first1=Richard |date=2018-03-04 |df=mdy |url=https://www.theregister.co.uk/2018/03/04/java_ee_is_now_jakarta_ee/ |title=Java EE renamed 'Jakarta EE' after Big Red brand spat |department=Software |work=[[The Register]] |access-date=19 March 2018}}</ref><ref>{{cite news |last1=Vaughan-Nichols |first1=Steven J. |date=2018-03-05 |df=mdy |title=Good-bye JEE, hello Jakarta EE |url=https://www.zdnet.com/article/good-bye-jee-hello-jakarta-ee/ |department=Linux and Open Source |work=[[ZDNet]] |access-date=2020-07-10}}</ref> The name refers to the largest city on the island of [[Java]] and also the capital of Indonesia, [[Jakarta]].<ref>{{cite web |last=Tijms |first=Arjan |date=2020-02-27 |df=mdy |title=Transition From Java EE to Jakarta EE |url=https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee |department=Java Magazine |website=blogs.oracle.com |access-date=2024-07-25}}</ref> 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]]. {| class="wikitable" |+ Java enterprise platform history ! Platform version !! Release<ref>{{cite web |url=https://jakarta.ee/release/ |title=Jakarta EE Releases |work=Jakarta EE |publisher=[[Eclipse Foundation]] |access-date=2024-07-17}}</ref> !! Specification !! {{nowrap|Java SE}} Support !! Important Changes |- | Jakarta EE 11 || Planned for June/July 2024 || [https://jakarta.ee/specifications/platform/11/ 11] || Java SE 21 || Data |- | Jakarta EE 10 || {{nowrap|2022-09-22}}<ref>{{cite press release |last1=Obradovic |first1=Tanja |last2=Grimstad |first2=Ivar |date=2022-09-22 |df=ymd |url=https://jakarta.ee/news/jakarta-ee-10-released/ |title=The Eclipse Foundation’s Jakarta EE Working Group Releases Jakarta EE 10 to Usher in the Era of Cloud Native Java |department=News |work=Jakarta EE |publisher=[[Eclipse Foundation]] |access-date=2024-07-17}}</ref> || [https://jakarta.ee/specifications/platform/10/ 10] || {{ubl|Java SE 17|Java SE 11|item_style=white-space:nowrap;}} || Removal of deprecated items in Servlet, Faces, CDI and EJB (Entity Beans and Embeddable Container). CDI-Build Time. |- | {{nowrap|Jakarta EE 9.1}} || {{nowrap|2021-05-25}}<ref>{{cite press release |last1=Obradovic |first1=Tanja |last2=Grimstad |first2=Ivar |date=2021-05-25 |df=ymd |url=https://jakarta.ee/news/jakarta-ee-9-1-released/ |title=The Jakarta EE Working Group Releases Jakarta EE 9.1 as Industry Continues to Embrace Open Source Enterprise Java |department=News |work=Jakarta EE |publisher=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref> || [https://jakarta.ee/specifications/platform/9.1/ 9.1] || {{ubl|Java SE 11|Java SE 8}} || JDK 11 support |- | Jakarta EE 9 || {{nowrap|2020-12-08}}<ref>{{cite press release |last1=Mmayel |first1=Shabnam |last2=Obradovic |first2=Tanja |date=2020-12-08 |df=ymd |url=https://jakarta.ee/news/jakarta-ee-9-released/ |title=Jakarta EE 9 Released! |department=News |work=Jakarta EE |publisher=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref> || [https://jakarta.ee/specifications/platform/9/ 9] || Java SE 8 || API namespace move from {{code|javax}} to {{code|jakarta}} |- | Jakarta EE 8 || {{nowrap|2019-09-10}}<ref>{{cite press release |last1=Mmayel |first1=Shabnam |last2=Obradovic |first2=Tanja |date=2019-09-10 |df=ymd |url=https://jakarta.ee/news/jakarta-ee-8-released/ |title=Jakarta EE 8 Released! |department=News |work=Jakarta EE |publisher=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref> || [https://jakarta.ee/specifications/platform/8/ 8] || Java SE 8 || Full compatibility with Java EE 8 |- | Java EE 8 || 2017-08-31 || [https://jcp.org/en/jsr/detail?id=366 JSR 366] || Java SE 8 || [[HTTP/2]] and CDI based [[Security]] |- | Java EE 7 || 2013-05-28 || [https://jcp.org/en/jsr/detail?id=342 JSR 342] || Java SE 7 || [[WebSocket]], [[JSON]] and [[HTML5]] support |- | Java EE 6 || 2009-12-10 || [https://jcp.org/en/jsr/detail?id=316 JSR 316] || Java SE 6 || [[dependency injection|CDI]] managed Beans and REST |- | Java EE 5 || 2006-05-11 || [https://jcp.org/en/jsr/detail?id=244 JSR 244] || Java SE 5 || [[Java annotation]]s and [[Generics in Java]] |- | J2EE 1.4 || 2003-11-11 || [https://jcp.org/en/jsr/detail?id=151 JSR 151] || J2SE 1.4 || [[Web Services Interoperability|WS-I]] interoperable web services<ref>{{cite web |last=Krill |first=Paul |date=2003-11-21 |df=mdy |url=https://www.infoworld.com/article/2680436/j2ee-1-4-spec-certified.html |title=J2EE 1.4 spec certified |department=Software Development |work=[[InfoWorld]] |access-date=2022-03-05}}</ref> |- | J2EE 1.3 || 2001-09-24 || [https://jcp.org/en/jsr/detail?id=58 JSR 58] || J2SE 1.3 || Java connector architecture<ref>{{cite web |last=Copeland |first=Lee |date=2001-09-24 |df=mdy |url=https://www.computerworld.com/article/2583189/sun-unveils-j2ee-1-3.html |title=Sun unveils J2EE 1.3 |department=Software Development |work=[[Computerworld]] |access-date=2022-03-05}}</ref> |- | J2EE 1.2 || 1999-12-17 || [https://download.oracle.com/otndocs/jcp/7391-j2ee_platform-1.2-fr-spec-oth-JSpec/ 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, managing distributed queues. The Jakarta EE APIs include several technologies that extend the functionality of the base [[Java Platform, Standard Edition|Java SE]] [[Application programming interface|API]]s, such as [[Jakarta Enterprise Beans]], [[Jakarta Connectors|connectors]], [[Jakarta Servlet|servlet]]s, [[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 === * [[Jakarta RESTful Web Services]] provides support in creating web services according to the [[Representational State Transfer]] (REST) architectural pattern; * Jakarta JSON Processing is a set of specifications to manage information encoded in JSON format; * Jakarta JSON Binding provides specifications to convert JSON information into or from Java classes; * [[Jakarta XML Binding]] allows mapping XML into Java objects; * [[Jakarta XML Web Services]] can be used to create SOAP web services. === 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 [[Transaction processing|transactions]] (using [[Jakarta Transactions|JTA]]), [[remote procedure call]]s (using [[Java remote method invocation|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 [[JavaServer Faces|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: {| class="wikitable sortable" |- ! Specification !! Java EE 6<ref>{{cite web |url=https://jcp.org/en/jsr/detail?id=316 |title=JSR 316: Java Platform, Enterprise Edition 6 (Java EE 6) Specification |work=[[Java Community Process]] |publisher=[[Oracle Corporation]] |access-date=2022-03-05}}</ref> !! Java EE 7<ref>{{cite web |url=https://jcp.org/en/jsr/detail?id=342 |title=JSR 342: Java Platform, Enterprise Edition 7 (Java EE 7) Specification |work=[[Java Community Process]] |publisher=[[Oracle Corporation]] |access-date=2022-03-05}}</ref> !! Java EE 8<ref>{{cite web |url=https://javaee.github.io/javaee-spec/download/JavaEE8_WebProfile_Spec_FinalRelease.pdf |archive-url=https://ghostarchive.org/archive/20221009/https://javaee.github.io/javaee-spec/download/JavaEE8_WebProfile_Spec_FinalRelease.pdf |archive-date=2022-10-09 |url-status=live |title=Java Platform, Enterprise Edition 8 (Java EE 8) Web Profile Specification |work=[[GitHub]] |publisher=[[Oracle Corporation]] |access-date=2022-02-05}}</ref><br />Jakarta EE 8<ref>{{cite web |url=https://jakarta.ee/specifications/webprofile/8/webprofile-spec-8.html#web-profile-definition |title=Web Profile Definition |work=Jakarta EE WebProfile |series=8 |publisher=Jakarta EE |agency=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref> !Jakarta EE 9<ref>{{cite web |url=https://jakarta.ee/specifications/webprofile/9/jakarta-webprofile-spec-9.html#web-profile-definition |title=Web Profile Definition |work=Jakarta EE WebProfile |series=9 |publisher=Jakarta EE |agency=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref><br />Jakarta EE 9.1<ref>{{cite web |url=https://jakarta.ee/specifications/webprofile/9.1/jakarta-webprofile-spec-9.1.html#web-profile-definition |title=Web Profile Definition |work=Jakarta EE WebProfile |series=9.1 |publisher=Jakarta EE |agency=[[Eclipse Foundation]] |access-date=2022-03-05}}</ref> !Jakarta EE 10<ref>{{cite web |url=https://jakarta.ee/specifications/webprofile/10/jakarta-webprofile-spec-10.0.html#web-profile-definition |title=Web Profile Definition |work=Jakarta EE WebProfile |series=10 |publisher=Jakarta EE |agency=[[Eclipse Foundation]] |access-date=2022-09-27}}</ref> |- | [[Jakarta Servlet]] || 3.0 || 3.1 || 4.0 |5.0 |6.0 |- | [[Jakarta Server Pages]] (''JSP'') || 2.2 || 2.3 || 2.3 |3.0 |3.1 |- | [[Jakarta Expression Language]] (''EL'') || 2.2 || 3.0 || 3.0 |4.0 |5.0 |- | [[Jakarta Debugging Support for Other Languages]] (JSR-45) || 1.0 || 1.0 || 1.0 |2.0 |2.0 |- | [[Jakarta Standard Tag Library]] (''JSTL'') || 1.2 || 1.2 || 1.2 |2.0 |3.0 |- | [[Jakarta Faces]] || 2.0 || 2.2 || 2.3 |3.0 |4.0 |- | [[Jakarta RESTful Web Services]] (''JAX-RS'') || 1.1 || 2.0 || 2.1 |3.0 |3.1 |- | [[Jakarta WebSocket]] (''WebSocket'') || {{n/a}} || 1.0 || 1.1 |2.0 |2.1 |- | [[Jakarta JSON Processing]] (''JSON-P'') || {{n/a}} || 1.0 || 1.1 |2.0 |2.1 |- | [[Jakarta JSON Binding]] (''JSON-B'') || {{n/a}} || {{n/a}} || 1.1 |2.0 |3.0 |- | [[Jakarta Annotations]] (''CA'') || 1.1 || 1.2 || 1.3 |2.0 |2.1 |- | [[Jakarta Enterprise Beans]] (''EJB'') || 3.1 Lite || 3.2 Lite || 3.2 Lite |4.0 Lite |4.0 Lite |- | [[Jakarta Transactions]] (''JTA'') || 1.1 || 1.2 || 1.2 |2.0 |2.0 |- | [[Jakarta Persistence]] (''JPA'') || 2.0 || 2.1 || 2.2 |3.0 |3.1 |- | Jakarta [[Bean Validation]] || 1.0 || 1.1 || 2.0 |3.0 |3.0 |- | [[Jakarta Managed Beans]] || 1.0 || 1.0 || 1.0 |2.0 |{{n/a}} |- | [[Jakarta Interceptors]] || 1.1 || 1.2 || 1.2 |2.0 |2.1 |- | Jakarta [[Contexts and Dependency Injection]] (''CDI'') || 1.0 || 1.1 || 2.0 |3.0 |4.0 |- | [[Jakarta Dependency Injection]] || 1.0 || 1.0 || 1.0 |2.0 |2.0 |- | [[Jakarta Security]] || {{n/a}} || {{n/a}} || 1.0 |2.0 |3.0 |- | [[Jakarta Authentication]] || {{n/a}} || 1.0 || 1.1 |2.0 |3.0 |- | [[Jakarta Concurrency]] || {{n/a}} || {{n/a}} || {{n/a}} |{{n/a}} |3.0 |- |} == 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 [[Java EE Connector Architecture|connector]]s, [[Computer cluster|clustering]], [[Fault-tolerant design|fault tolerance]], [[high availability]], [[Computer security|security]], etc.), installed size, [[memory footprint]], startup time, etc. === Jakarta EE === {| class="wikitable sortable" style="width: 100%; text-align: center; font-size: smaller; table-layout: fixed;" |- !Referencing runtime<ref name="jakarta10-compatibility">{{cite web|url=https://jakarta.ee/compatibility/download/|title=Jakarta EE Compatible Products|website=Jakarta.ee}}</ref><ref name="jakarta9-compatibility">{{cite web|url=https://jakarta.ee/compatibility/#tab-9|title=Jakarta EE 9 Compatible Products|website=Jakarta.ee}}</ref><ref name="jakarta8-compatibility">{{cite web|url=https://jakarta.ee/compatibility/#tab-8|title=Jakarta EE 8 Compatible Products|website=Jakarta.ee}}</ref> !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 Foundation|Eclipse]] |{{yes}} 7.0.0 |{{yes}} 6.0.0/ 6.1.0 |{{yes}} 6.0.0/ 6.1.0 |{{yes}} 5.1.0 |{{yes}} 5.1.0 | {{free|[[Free software]]}} |- | [[Open Liberty]] | [[IBM]] |{{yes}} 22.0.0.13-beta,<ref name="Open Liberty Jakarta EE 10 Compatibility">{{cite web|url=https://openliberty.io/blog/2023/01/03/23.0.0.1-beta.html|title=Jakarta EE 10 Platform and MicroProfile 6 in Open Liberty 23.0.0.1-beta|website=openliberty.io}}</ref> 23.0.0.3<ref name="LibertyJakartaEE10">{{cite web|url=https://openliberty.io/blog/2023/04/04/23.0.0.3.html|website=openliberty.io|title=Jakarta EE 10, MicroProfile 6, and Java SE 20 support in Open Liberty 23.0.0.3}}</ref> |{{yes}} 21.0.0.12 |{{yes}} 21.0.0.12 |{{yes}} 19.0.0.6, 20.0.0.3 |{{yes}} 19.0.0.6, 20.0.0.3 | {{free|[[Free software]]}} |- | [[IBM WebSphere Application Server|WebSphere Liberty]] | [[IBM]] |{{yes}} 23.0.0.3<ref name="LibertyJakartaEE10" /> |{{yes}} 21.0.0.12 |{{yes}} 21.0.0.12 |{{yes}} 20.0.0.3 |{{yes}} 20.0.0.3 | {{proprietary|[[Proprietary software]]}} |- | [[WildFly]] | [[Red Hat]] |{{yes}} 27.0.0.Alpha5 |{{yes}} 23.0.1-Preview/25.0.0-Preview |{{yes}} 23.0.1-Preview/25.0.0-Preview |{{yes}} 18.0.0 |{{yes}} 18.0.0 | {{free|[[Free software]]}} |- | [[JBoss Enterprise Application Platform|JBoss EAP]] | [[Red Hat]] |{{yes}} 8.0.0 |{{no}} |{{no}} |{{yes}} 7.3.0 |{{yes}} 7.3.0 | {{free|[[Free software]]}} |- | [[Apache TomEE|TomEE]] | [[The Apache Software Foundation|Apache]] |{{yes}} 10.x |{{yes}} 9.x |{{yes}} 9.x |{{yes}} 8.x |{{yes}} 8.x | {{free|[[Free software]]}} |- | [[Payara Server]] | Payara Services Limited |{{yes}} 6.2022.1 Alpha 4 |{{yes}} 6.2021.1 Alpha 1 |{{no}} |{{yes}} 5.22.0, 5.23.0 |{{yes}} 5.23.0 | {{free|[[Free software]]}} |- | [[Thunisoft Application Server]] | [[Beijing Thunisoft Information Technology]] |{{no}} |{{yes}} 3.0 |{{no}} |{{yes}} 2.8 |{{no}} | {{proprietary|[[Proprietary software]]}} |- |- | [[JEUS]] | [[TmaxSoft]] |{{no}} |{{no}} |{{no}} |{{yes}} 8.5 |{{no}} | {{proprietary|[[Proprietary software]]}} |- |- | [[InforSuite Application Server]] | [[Shandong Cvicse Middleware]] |{{no}} |{{yes}} 11 |{{no}} |{{yes}} 10 |{{no}} | {{proprietary|[[Proprietary software]]}} |- |} === Java EE === {| class="wikitable sortable" style="width: 100%; text-align: center; font-size: smaller; table-layout: fixed;" |- !Referencing runtime !Developer !Java EE 8 certified – Full !Java EE 8 certified – Web !Java EE 7 certified – Full !Java EE 7 certified – Web !Java EE 6 certified – Full<br /> Official Oracle page for Java EE Compatibility. !Java EE 6 certified – Web !Java EE 5 certified !J2EE 1.4 certified !Licensing |- | [[GlassFish]] server Open Source Edition | [[Oracle Corporation|Oracle]] |{{yes}} v5.0<ref name=":1">{{Cite web|url=http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html|title=Java EE Compatibility|website=www.oracle.com|access-date=2018-08-05}}</ref> |{{yes}} v5.0<ref name=":1" /> | {{yes}} v4.x<ref name="oracle.com"/> | {{yes}} v4.x<ref name="oracle.com"/> | {{yes}} v3.x and upward<ref name="glassfishopensourcecomptable">{{cite web|url=https://glassfish.dev.java.net/public/comparing_v2_and_v3.html|archive-url=https://archive.today/20121220022558/https://glassfish.dev.java.net/public/comparing_v2_and_v3.html|url-status=dead|archive-date=2012-12-20|title=Comparing GlassFish Open Source Edition versions 2.x and 3.0.x}}</ref> | {{yes}} v3.x Web Profile | {{yes}} v2.1.x<ref name="glassfishopensourcecomptable" /> | | {{free|[[Free software]]}} |- | Oracle GlassFish Server | Oracle | | | | | {{yes}} v3<ref name="javaee6compatlist">{{cite web|url=http://java.sun.com/javaee/overview/compatibility.jsp |title=Java EE Compatibility |publisher=Java.sun.com |date=2010-09-07 |access-date=2012-07-18}}</ref> based on the open source GlassFish application server | | {{yes}} [[Sun Java System Application Server]] v9.0 | {{yes}} [[Sun Java System Application Server]] v8.2 | {{Proprietary|[[Proprietary software]]}} |- | [[Oracle WebLogic Server]] | Oracle | {{yes}} 14.1.1<ref>{{cite web|url=https://docs.oracle.com/en/middleware/standalone/weblogic-server/14.1.1.0/index.html|title=Oracle Weblogic Server 14.1.1|website=www.oracle.com}}</ref> | | {{yes}} 12.2.1<ref>{{cite web|url=https://www.oracle.com/technetwork/java/javaee/overview/oracleweblogic1211-2769862.html|title=Oracle Weblogic Server 12.1.1|website=www.oracle.com}}</ref> | | {{yes}} v12c<ref>{{cite web |url=http://wcc.on24.com/event/37/57/27/rt/1/documents/player_docanchr_3/weblogic12c_launch_tech_webinar_v8.pdf |title=Oracle Web Logic Server 12c: Developing Modern, Lightweight Java EE 6 Applications |first1=Will|last1=Lyons |first2=Pieter|last2=Humphrey |date=2011 |access-date=2011-12-03 |url-status=dead |archive-url=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 |archive-date=2011-12-15 }}</ref> | | {{yes}} v10.3.5.0 | {{yes}} v9 | {{Proprietary|[[Proprietary software]]}} |- | [[WildFly]] | [[Red Hat]] | {{yes}} v14.x<ref name=":1" /> | {{yes}} v14.x<ref name=":1" /> | {{yes}} v8.1 <ref>{{cite web|url=https://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html|title=Java EE Compatibility|website=www.oracle.com}}</ref> | {{yes}} v8.0.0.Final | {{yes}} v7.1<ref>{{cite web|url=http://planet.jboss.org/post/jboss_as_7_1_0_final_thunder_released_java_ee_6_full_profile_certified |title=JBoss AS 7.1.0.Final "Thunder" released - Java EE 6 Full Profile certified! | My Wiki | Planet JBoss Community |publisher=Planet.jboss.org |date=2012-02-17 |access-date=2012-07-18}}</ref> | {{yes}} v6.0<ref>{{cite web|url=http://www.jboss.org/jbossas|title=JBoss Application Server - JBoss Community}}</ref> and v7.0<ref>{{cite web|url=http://www.jboss.org/as7|title=JBoss Application Server - JBoss Community}}</ref> | {{yes}} v5.1<ref>{{cite web|url=http://java.sun.com/javaee/overview/compatibility.jsp|title=Java EE Compatibility}}</ref><ref>{{cite web|url=https://sacha.labourey.com/2008/09/15/jboss-as-is-now-ee5-certified/|title=JBoss AS is now EE5 certified!|date=15 September 2008|access-date=7 August 2016|archive-url=https://web.archive.org/web/20080920223001/http://sacha.labourey.com/2008/09/15/jboss-as-is-now-ee5-certified/|archive-date=20 September 2008|url-status=dead}}</ref> | {{yes}} v4.x | {{free|[[Free software]]}} |- | [[JBoss Enterprise Application Platform]] | [[Red Hat]] | {{yes}} v7.2 <ref name="redhat.com">{{cite web|url=https://middlewareblog.redhat.com/2019/01/22/red-hat-jboss-enterprise-application-platform-7-2-availability/|title=Red Hat JBoss Enterprise Application Platform 7.2 Availability}}</ref> | | {{yes}} v7.0<ref name="oracle.com">{{cite web|url=http://www.oracle.com/technetwork/java/javaee/overview/compatibility-jsp-136984.html|title=Java EE Compatibility}}</ref> | {{yes}} v7.0<ref name="oracle.com"/> | {{yes}} v6.0<ref>{{cite web |url=http://www.businesswire.com/news/home/20120620005266/en/Red-Hat-Launches-JBoss-Enterprise-Application-Platform |archive-url=https://web.archive.org/web/20161111102348/http://www.businesswire.com/news/home/20120620005266/en/Red-Hat-Launches-JBoss-Enterprise-Application-Platform |title=Red Hat Launches JBoss Enterprise Application Platform 6 to Help Enterprises Move Application Development and Deployment to the Cloud |publisher=Business Wire |date=2012-06-20 |access-date=2012-07-18 |archive-date=2016-11-11}}</ref> | | {{yes}} v5 | | {{Proprietary|Proprietary software}} |- | [[IBM WebSphere Application Server]] | [[IBM]] | | |{{yes}} v9.x<ref name=":1" /> | {{yes}} v9.x<ref name="oracle.com"/> | {{yes}} v8<ref>{{cite web|url=http://www.ibm.com/developerworks/websphere/techjournal/1106_alcott/1106_alcott.html |title=What's new in WebSphere Application Server V8 |publisher=Ibm.com |access-date=2012-07-18}}</ref> | | {{yes}} v7 | {{yes}} | {{Proprietary|Proprietary software}} |- | [[IBM WebSphere Application Server|IBM WebSphere Application Server Liberty]] | [[IBM]] |{{yes}} v18.0.0.2<ref name=":0">{{cite web|url=http://www-01.ibm.com/common/ssi/ShowDoc.wss?docURL=/common/ssi/rep_ca/4/897/ENUS218-354/index.html&lang=en&request_locale=en|title=IBM WebSphere Application Server Liberty delivers the first production-ready, Java EE 8-compatible application server and broadens support for Spring Boot applications|website=IBM|date=10 July 2018 |access-date=12 July 2018}}</ref> |{{yes}} v18.0.0.2<ref name=":0" /> | {{yes}} v8.5.5.6<ref>{{cite web|url=http://oracle.com/technetwork/java/javaee/overview/waslibertyprofile8556-2587134.html|title=Java EE 7 - Tested Configurations- IBM WebSphere Application Server Liberty Profile|website=Oracle.com}}</ref><ref>{{cite web|url=https://developer.ibm.com/wasdev/blog/2015/06/25/java-ee-7-has-landed-in-was-liberty|title=Java EE 7 has landed in WAS Liberty - WASdev|date=25 June 2015}}</ref> | {{yes}} v8.5.5.6<ref name="oracle.com"/> | | {{yes}} v8.5.5<ref>{{cite web|url=http://www.oracle.com/technetwork/java/javaee/community/ibm-javaee6-web-tested-configs-1961333.html|title=IBM Java EE 6 Web Profile Tested Configurations}}</ref> | | | {{Proprietary|Proprietary software}} |- |[https://openliberty.io/ Open Liberty] |IBM |{{yes}} v18.0.0.2 |{{yes}} v18.0.0.2 | | | | | | | {{free|Free software}} |- | [[IBM WebSphere Application Server Community Edition]] |[[IBM]] | | | | | {{yes}} v3.0 | | {{yes}} v2.1 | | {{Proprietary|Proprietary software}} |- |[[Apache Geronimo]] |[[Apache Software Foundation|Apache]] | | | | | {{yes}} v3.0-beta-1<ref>{{Cite web|url=http://geronimo.apache.org/|title=Apache Geronimo : Index|date=January 25, 2010|website=geronimo.apache.org}}</ref><ref>{{cite web|url=http://www.h-online.com/open/news/item/Apache-Geronimo-fully-certified-for-Java-EE-6-1378384.html |archive-url=https://web.archive.org/web/20120420064218/http://www.h-online.com/open/news/item/Apache-Geronimo-fully-certified-for-Java-EE-6-1378384.html |archive-date=20 April 2012|title=Apache Geronimo fully certified for Java EE 6 - The H Open: News and Features |publisher=H-online.com |date=2011-11-14 |access-date=2012-07-18}}</ref> | | {{yes}} v2.0 | {{yes}} v1.0 | {{free|Free software}} |- | [[JEUS]] | [[TmaxSoft]] | | | {{yes}} v8 | | {{yes}} v7<ref>{{cite web|url=http://www.oracle.com/technetwork/java/javaee/tmax-javaee6-141684.html |title=Tested Configurations, Java EE 6 - TMAX JEUS 7 |publisher=Oracle.com |date=2010-09-07 |access-date=2012-07-18}}</ref><ref>{{cite web|url=http://us.tmaxsoft.com/jsp/product/detailcontents.jsp?psCd=00PD04&menuCd=00PDMSJE |title=Java EE6 Web Application Server, WAS Software |publisher=Us.tmaxsoft.com |access-date=2012-07-18 |url-status=dead |archive-url=https://web.archive.org/web/20120702045326/http://us.tmaxsoft.com/jsp/product/detailcontents.jsp?psCd=00PD04&menuCd=00PDMSJE |archive-date=2012-07-02 }}</ref> | | {{yes}} v6 | {{yes}} v5 | {{Proprietary|Proprietary software}} |- | Cosminexus Application Server | [[Hitachi]] | | |{{yes}} v10.0<ref name=":1" /> | | {{yes}} v9<ref>{{cite web|url=http://oracle.com/technetwork/java/javaee/community/hitachi-compat-1585039.html |title=Java EE 6 - Tested Configurations, Java EE 6 - Hitachi uCosminexus Application Server v9.0|publisher=Oracle.com}}</ref> | | | | {{Proprietary|Proprietary software}} |- | [[:ja:Interstage|Fujitsu Interstage Application Server]]<ref>{{Cite web|url=http://www.fujitsu.com/global/services/software/windows-azure|archive-url=https://web.archive.org/web/20110810160631/http://www.fujitsu.com/global/services/software/windows-azure/|url-status=dead|title=Fujitsu Interstage Application Server powered by Windows Azure|archive-date=August 10, 2011}}</ref> | [[Fujitsu]] | | |{{yes}} v12.0<ref name=":1" /> | | {{yes}} v1 Azure/v10.1<ref>{{cite web|url=http://www.oracle.com/technetwork/java/javaee/community/default-452835.html |title=Tested Configurations, Java EE6 - Fujitsu Interstage |publisher=Oracle.com |date=2010-09-07 |access-date=2012-07-18}}</ref><ref>{{cite web|url=http://fujitsu.com/global/about/resources/news/press-releases/2011/1220-02.html|title=Fujitsu Releases Interstage Application Server V10.1|publisher=Fujitsu}}</ref> | | {{yes}} | | {{Proprietary|Proprietary software}} |- |[[:ja:WebOTX|WebOTX]] |[[NEC]] | | | | | {{yes}}<ref>{{cite web|url=http://www.oracle.com/technetwork/java/javaee/community/nec-webotx-v9x-certification-2002719.html|title=NEC WebOTX Application Server V9.x Certification}}</ref> | | {{yes}} | | {{Proprietary|Proprietary software}} |- |BES Application Server |Baolande | | | |{{yes}} v9.5<ref name="oracle.com"/> | | | | |- | [[Apache TomEE]]<ref>{{cite web|url=http://openejb.apache.org/3.0/apache-tomee.html |title=Apache TomEE |publisher=Openejb.apache.org |access-date=2012-07-18}}</ref><ref>{{cite web|url=http://www.marketwatch.com/story/the-apache-software-foundation-announces-apache-tomee-certified-as-java-ee-6-web-profile-compatible-2011-10-04 |title=MarketWatch.com |publisher=MarketWatch.com |access-date=2012-07-18}}</ref> | [[Apache Software Foundation|Apache]] | | | | {{no}} 7 (Java EE 7 like, but not certified<ref>{{cite web|url=http://tomee.apache.org/download/tomee-7.0.1.html|title=Apache TomEE 7.0.1|first=Apache|last=TomEE}}</ref>) | | {{yes}} | | | {{free|Free software}} |- | [[Resin Server]] | [[Caucho Technology|Caucho]] | | | | | | {{yes}} v4.0<ref>{{cite web|url=http://www.caucho.com/articles/Caucho_Web%20Profile%20JavaEE6_whitepaper_byRR.pdf |archive-url=https://ghostarchive.org/archive/20221009/http://www.caucho.com/articles/Caucho_Web%20Profile%20JavaEE6_whitepaper_byRR.pdf |archive-date=2022-10-09 |url-status=live|title=Resin Application Server Java EE 6 Web Profile|date=2011|website=caucho.com}} </ref> | | {{yes}} | {{Proprietary|Proprietary software}} |- | [[Siwpas]] | [[OW2]] | | | | | | {{yes}} v6.0<ref>{{cite web|url=https://blogs.oracle.com/theaquarium/entry/please_welcome_siwpas_as_java |title=Please Welcome Siwpas as Java EE Certified Option! |publisher=Oracle.com |access-date=2015-12-07}}</ref> | | | {{free|Free software}} |- | JOnAS | [[OW2]] | | | | | | {{yes}} v5.3 rc1<ref>{{cite web |url=http://jonas.ow2.org/xwiki/bin/view/Blog/JOnAS+530+RC1+released |title=JOnAS 5.3.0 RC1 released |date=2013-01-07 |website=jonas.ow2.org |access-date=2014-02-25 |url-status=dead |archive-url=https://web.archive.org/web/20131015132408/http://jonas.ow2.org/xwiki/bin/view/Blog/JOnAS+530+RC1+released |archive-date=2013-10-15 }}</ref> | {{yes}} | {{yes}} | {{free|Free software}} |- |[[SAP NetWeaver]] | [[SAP SE|SAP]] | | | | | | {{yes}} v2.x<ref>{{cite web|url=https://blogs.oracle.com/theaquarium/entry/sap_netweaver_cloud_java_ee|title=SAP NetWeaver Cloud Java EE 6 Web Profile Certified! (The Aquarium)}}</ref> | {{yes}} | {{yes}} | {{Proprietary|Proprietary software}} |- |[[OC4J|Oracle Containers for Java EE]] | Oracle | | | | | | | {{yes}} | | {{Proprietary|Proprietary software}} |- | [[Oracle iPlanet Web Server]] | Oracle | | | | | | | | {{yes}} Sun Java System Web Server | {{Proprietary|Proprietary software}} |- |[[Oracle Application Server 10g]] | Oracle | | | | | | | | {{yes}} | {{Proprietary|Proprietary software}} |- | Pramati Server |Pramati Technologies | | | | | | | | {{yes}} v5.0 | {{Proprietary|Proprietary software}} |- | Trifork T4 | [[Trifork]] | | | | | | | | {{yes}} | {{Proprietary|Proprietary software}} |- | Sybase Enterprise Application Server<ref>{{cite web|url=http://www.sybase.com/products/modelingdevelopment/easerver|title=SAP Software Solutions - Business Applications and Technology|access-date=2010-05-03|archive-date=2009-12-07|archive-url=https://web.archive.org/web/20091207155457/http://www.sybase.com/products/modelingdevelopment/easerver|url-status=dead}}</ref> |[[Sybase]] | | | | | | | | {{yes}} | {{Proprietary|Proprietary software}} |- |} ==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. <syntaxhighlight lang="xml"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://xmlns.jcp.org/jsf/core"> <f:metadata> <f:viewParam name="user_id" value="#{userEdit.user}" converter="#{userConvertor}" /> </f:metadata> <h:body> <h:messages /> <h:form> <h:panelGrid columns="2"> <h:outputLabel for="firstName" value="First name" /> <h:inputText id="firstName" value="#{userEdit.user.firstName}" label="First name" /> <h:outputLabel for="lastName" value="Last name" /> <h:inputText id="lastName" value="#{userEdit.user.lastName}" label="Last name" /> <h:commandButton action="#{userEdit.saveUser}" value="Save" /> </h:panelGrid> </h:form> </h:body> </html> </syntaxhighlight> ===Example Backing Bean class === To assist the view, Jakarta EE uses a concept called a "Backing Bean". The example below uses [http://jcp.org/en/jsr/detail?id=299 Contexts and Dependency Injection (CDI)] and [[Jakarta Enterprise Beans]] (''EJB''). <syntaxhighlight lang="java"> @Named @ViewScoped public class UserEdit { private User user; @Inject private UserDAO userDAO; public String saveUser() { userDAO.save(this.user); addFlashMessage("User " + this.user.getId() + " saved"); return "users.xhtml?faces-redirect=true"; } public void setUser(User user) { this.user = user; } public User getUser() { return user; } } </syntaxhighlight> ===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 [[Java Transaction API|JTA]] is used under the covers by EJB to control transactional behavior. <syntaxhighlight lang="java"> @Stateless public class UserDAO { @PersistenceContext private EntityManager entityManager; public void save(User user) { entityManager.persist(user); } public void update(User user) { entityManager.merge(user); } public List<User> getAll() { return entityManager.createNamedQuery("User.getAll", User.class) .getResultList(); } } </syntaxhighlight> ===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. <syntaxhighlight lang="java"> @Entity public class User { @Id @GeneratedValue(strategy = IDENTITY) private Integer id; @Size(min = 2, message="First name too short") private String firstName; @Size(min = 2, message="Last name too short") private String lastName; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getFirstName() { return firstName; } public void setFirstName(String firstName) { this.firstName = firstName; } public String getLastName() { return lastName; } public void setLastName(String lastName) { this.lastName = lastName; } } </syntaxhighlight> == See also == {{Portal|Computer programming}} * [[Canigó (framework)]] * [[Deployment descriptor]] * [[Java BluePrints]] * [[Java Research License]] * [[Sun Community Source License]] * [[Sun Java System Portal Server]] * [[Web container]] * [[Java Platform, Micro Edition|J2ME]] == References == {{Reflist}} ==External links== {{Commons category|Jakarta EE}} * {{Official website}} ** [https://jakarta.ee/compatibility/ Jakarta EE Compatible Products: Enterprise Java Application and Web Servers] - [[Eclipse Foundation]] * [https://jakarta.ee/learn/docs/jakartaee-tutorial/current/index.html The Official Jakarta EE Tutorial] * [https://eclipse-ee4j.github.io/jakartaee-firstcup/ First Cup of Jakarta EE Tutorial]: An Introduction to Jakarta EE * [https://jakarta.ee/learn/specification-guides/jakarta-ee-platform/ Jakarta EE Specification Guide - Jakarta EE Platform] * [https://start.jakarta.ee/ Jakarta EE Official Starter]: Generate a Jakarta EE Project * [https://www.oracle.com/java/technologies/java-ee-glance.html Java Platform, Enterprise Edition (Java EE)], Oracle Technology Network * [https://www.youtube.com/channel/UC4M7h5b6elu9VlzjLfzuXyg Jakarta EE official YouTube channel] {{Jakarta EE}} {{Eclipse Foundation}} {{Java (software platform)}} [[Category:Articles with example Java code]] [[Category:Computing platforms]] [[Category:Java enterprise platform| ]] [[Category:Java platform|Platform, Enterprise Edition]] [[Category:Java specification requests|Platform, Enterprise Edition]] [[Category:Web frameworks]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Cite news
(
edit
)
Template:Cite press release
(
edit
)
Template:Cite web
(
edit
)
Template:Code
(
edit
)
Template:Commons category
(
edit
)
Template:Eclipse Foundation
(
edit
)
Template:Free
(
edit
)
Template:Infobox software platform
(
edit
)
Template:Jakarta EE
(
edit
)
Template:Java (software platform)
(
edit
)
Template:Java platforms
(
edit
)
Template:N/a
(
edit
)
Template:No
(
edit
)
Template:Nowrap
(
edit
)
Template:Official website
(
edit
)
Template:Portal
(
edit
)
Template:Proprietary
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Ubl
(
edit
)
Template:Yes
(
edit
)
Search
Search
Editing
Jakarta EE
Add topic