Skip to content
Java EE 8/Jakarta EE 8 sandbox
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
bean-validation added bean-validation sample. Oct 4, 2017
cdi-dynamic-bean added cdi-dynamic-bean sample. Oct 4, 2017
cdi-event-async split the cdi event into two projects. Sep 26, 2017
cdi-event-priority clean some codes. Nov 17, 2017
cdi-intercept-producer renamed security samples. Nov 19, 2017
cdi-se clean some codes. Nov 17, 2017
gf-issue22317 added codes to reproduce issue 22389 Dec 27, 2017
gf-issue22389 added codes to reproduce issue 22389 Dec 27, 2017
jaxrs-async added reactive client sample. Oct 17, 2017
jaxrs-client added callback to ListenableFutureClient Oct 19, 2017
jaxrs-sse added MessageHandler to bridge SseEventSink to CDI Event. Oct 29, 2017
jpa-cdi added bean-validation sample. Oct 4, 2017
jpa-datetime added test codes to jpa sample. Sep 30, 2017
jpa-stream clean some codes. Nov 17, 2017
jsf-cdi-activation added jsf-cdi-activation sample. Nov 7, 2017
jsf-cdi clean some codes. Nov 17, 2017
jsf-compatible-mode-jsf22 added jsf-cdi sample. Nov 14, 2017
jsf-converter added jsf-data-model. Oct 10, 2017
jsf-data-model clean some codes. Nov 17, 2017
jsf-managedproperty added managedproperty sample. Oct 9, 2017
jsf-postrenderview-event added converter injection and postRenderView event samples Oct 9, 2017
jsf-search-expression added search-expression sample Oct 11, 2017
jsf-validwholebean added converter injection sample. Oct 8, 2017
jsf-websocket clean jsf-websocket. Oct 3, 2017
jsonb added bean-validation sample. Oct 4, 2017
mvc-facelets Updated mvc jsr api and impl to the latest preview version. Mar 16, 2018
security-basic-db renamed security samples. Nov 19, 2017
security-basic renamed security samples. Nov 19, 2017
security-custom-auth-db added compatible mode jsf sample, security-custom-auth-db, security-f… Nov 2, 2017
security-custom-auth renamed security samples. Nov 19, 2017
security-custom-form-db renamed security samples. Nov 19, 2017
security-custom-form renamed security samples. Nov 19, 2017
security-form renamed security samples. Nov 19, 2017
servlet-mapping added servlet trailer sample. Oct 16, 2017
servlet-push added runtime servlet mapping sample. Oct 16, 2017
servlet-trailer added codes to reproduce issue 22389 Dec 27, 2017
.gitignore added a simple CDI SE sample. Aug 5, 2017
LICENSE Initial commit Jan 28, 2016
pom.xml updated Payara to the 5.181 Mar 20, 2018

A quick glance at Java EE 8

The past September was a busy month, the most exciting news is Java 9 reaches GA, as well as the release of the long-waiting Java EE 8 and Glassfish v5. For more details, please read the official announcement Java EE 8 and GlassFish 5.0 Released! from Oracle blog portal.

A brief intro of Java EE 8

The world changes so quickly, after Java EE 7 was born in 2013, cloud service and microservice became more and more popular. Java EE had to embrace the changes, so a lot of perspectives are proposed to be brought into Java EE 8, including Configuration, Load Balance, Circuit breaker, Service Registry and Discovery, programnatic Security API, MVC etc.

But the road to Java EE 8 is not straight, most of proposed specfications are moved out of Java EE 8 finally. And in a long period, the development of some specifications were paused for some reasons.

To save Java EE, the Java community created a petition and wished Oracle can move forward Java EE more quickly.

At the same time, IBM, Redhat and other Java communities launched a new MicroProfile which targets ligthweight Java EE and cloud computing service. Now it is a project under Eclipse foundation.

Although the Java EE 8 way is a little hard, finally it is released to the public.

And surprisingly Oracle decided to open up Java EE progress and move it to Eclipse foundation. An updated petition was created to help moving Java EE to Eclipse more smoothly.

Java EE 8 should be the last version released by Oracle(and Sun).

What is new in Java EE 8

Like me, some developers are a little disappointed about Java EE 8(JSR 366) , even complain it comes a little late. But no doubt there are still lots of new features and improvements which are valuable to update ourselves.

There tow new specifications were introduced in Java EE 8.

  • JSR 375 – Java EE Security API 1.0
  • JSR 367 – The Java API for JSON Binding (JSON-B) 1.0

Some specifications have been updated to align with Java 8 and CDI or involved as a maintainance release.

  • JSR 365 – Contexts and Dependency Injection (CDI) 2.0
  • JSR 369 – Java Servlet 4.0
  • JSR 370 – Java API for RESTful Web Services (JAX-RS) 2.1
  • JSR 372 – JavaServer Faces (JSF) 2.3
  • JSR 374 – Java API for JSON Processing (JSON-P)1.1
  • JSR 380 – Bean Validation 2.0
  • JSR 250 – Common Annotations 1.3
  • JSR 338 – Java Persistence 2.2
  • JSR 356 – Java API for WebSocket 1.1
  • JSR 919 – JavaMail 1.6

The other specifications such as JMS, Batch have no updates in this version.

Unfortunately, MVC(JSR 371) is vetoed in the final stage, but it is still existed as a community based specification. And JCache(JSR 107) which had missed the last train of Java EE 7, and also lost its attractiveness in Java EE 8.

Example codes

If you wonder the details of the codes, read my notes for Java EE 8 migration, it is also an open source project, welcome to contribute.


I created a Java EE 8 resource checklist, welcome to contribute.

You can’t perform that action at this time.