Java EE Guardians

Where is Java EE going?

Advertisements

This post was written by Jean-François James, a Java EE Guardian .

Last Summer, Oracle announced its intention to open source Java EE (Enterprise Edition). This has been confirmed at JavaOne 2017. This article is an attempt to clarify the current status and offer some important perspectives.

Motivations

According to David Delabassee, Oracle Java EE evangelist, the motivations leading to this decision are to make Java EE more agile and responsive to changing industry and technology demands.

The fact is that the process and the governance model of the JCP (Java Community Process), despite some laudable attempts to make it more open and flexible,  was no longer adjusted to the ever faster pace of change of the modern IT market. For instance, so many changes occurred since Java EE 7 (June 2013): a time where NoSQL, containerization, microservices, and serverless were ignored by most of us.

However, in my opinion, this decision was a bit surprising, being in stark contrast with the road map and the commitment announced by Oracle at JavaOne 2016:

Java EE roadmap as of JaveOne 2016

At that time, Java EE 8 was being relaunched after several months of inactivity.

Of course, this decision is also an indicator that Java EE is no longer a priority for Oracle. It seems that it prefers to concentrate its effort on a new open source project named Fn, a serverless framework similar to Amazon Lambda and IBM OpenWhisk (now an Apache project).

What’s new with Java EE 8?

It is worth pointing out the effort made by Oracle to deliver Java EE 8 on time (September 2017), not only developing and evolving specifications but also moving Glassfish (the Java EE Reference Implementation) to GitHub.

Java EE 8  main evolutions are:

Overall, Java EE 8 is more a restart that a strong evolution. In particular, the specific ingredients of cloud-native applications are out of its scope: distributed tracing, central configuration, health check, circuit breaker, load balancing.

How is looking Java EE now?

Overall, Java EE remains a valuable platform for most enterprise applications:

In my opinion, the main limitations of Java EE are:

Evolution of the Java EE Ecosystem

The decision of Oracle has had a huge impact on the whole Java EE Ecosystem, enabling new actors to appear, while strengthening and weakening legacy ones.

Let’s examine the situation.

Oracle

Oracle is the owner of the Java technology (including EE) and brand. In particular, it remains responsible for Java EE 8 maintenance.

As described below, this ownership poses a serious problem for the branding and the technical content of the future platform since it cannot reuse:

The JCP

Officially defined as “the mechanism for developing standard technical specifications for Java technology”.

The JCP is mostly managed by Oracle: Program Management Office, elections for, votes, management of many specifications …

In terms of organization, the JCP is open. Everybody is welcome to become a member. Companies such as IBM and Red Hat play an important role too.

Java EE is an umbrella specification covering more detailed specifications: Servlet, EJB, CDI, JAX-RS … Until release 8, Java EE was fully within the scope of the JCP.

Each specification is managed in the form of a Java Specification Request (for instance: JSR 366 for Java EE 8, JSR 369 for Servlet 4.0, JSR 365 for CDI 2.0, JSR 370 for CDI 2.1) under the responsibility of an Expert Group following a well-defined lifecycle:

The Expert Group is in charge of three deliverables:

  1. documentation describing the specification
  2. Reference Implementation to illustrate the viability of the specification
  3. Test Compatibility Kit to check the compliance of other implementations.

This is a huge work!

Externally, this process might look heavy at first glance: it takes a while from the initialization of the specification to the delivery of its final release, and it takes another while to have the specification properly implemented by application servers.

Internally, being registered as an Associate Member of the JCP, I must admit that I have been impressed by the quality of the governance model and the commitment of people involved in it.  Maybe it was not fast enough, but is innovation the priority for a standard?

A critical aspect of the success of EE4J is its ability to set up a strong while flexible governance model.

Java EE Guardians

Java EE Guardians is “an independent grassroots group of people committed to moving the Java EE platform forward through active community participation and advocacy”.

It has been set up in 2015 (not sure of the date) by Reza Rahman to urge Oracle to restart Java EE 8 which was more or less in the idle state at that time.

Its current focus is on reusing the Java EE brand name and the javax package to ensure a consistent continuity.  An open letter has been published early January 2018 for that purpose.

Microprofile.io

According to its own definition: “The MicroProfile is a baseline platform definition that optimizes Enterprise Java for a microservices architecture and delivers application portability across multiple MicroProfile runtimes”.

Microprofile has been started in summer 2016 and is now an Eclipse project. Its initial contributors were TomiTribe, Red Hat, IBM, and Payara. While not an initial member, Oracle has decided to join it in November 2017.

A first and very pragmatic version was released at JavaOne 2016 based on  JAX-RS 2.0, CDI 1.2, and JSON-P 1.0.

Since then,  the community has worked on several projects in parallel among which:

The initial ambition of Microprofile.io was to focus on rapid innovation letting the JCP working on standardization. Today, it can also be considered as a “Proof of Concept” for EE4J in terms of community, organization, and governance.

What will be the future of Microprofile.io? Will it merge with EE4J or stay on its own?

EE4J

According to its charter: “Eclipse Enterprise for Java (EE4J) is an open source initiative to create standard APIs, implementations of those APIs, and technology compatibility kits for Java runtimes that enable development, deployment, and management of server-side and cloud-native applications.  EE4J is based on the Java™ Platform, Enterprise Edition (Java EE) standards, and uses Java EE 8 as the baseline for creating new standards.“.

It must be emphasized that EE4J is a project name, not a brand name. A survey has been conducted in Nov. 2017 to select a brand name. Given the restrictions mentioned above, no clear consensus has emerged so far. It seems, that the vast majority (79%) of the community seems to be in favor of keeping Java EE.

A  Project Management Committee,  made of people already well-known in the Java EE ecosystem, has been set up in Nov. 2017. Its first priorities are the transition, the setup of a new community and the release of a first version based on Java EE 8.

For now, two projects are officially part of EE4J:

  1. Yasson: the Reference Implementation of JSON-B,
  2. EclipseLink: the Reference Implementation of JPA.

To know more about EE4J status and future go to its FAQ.

Impacts for the Java EE vendors?

Java EE vendors (Red Hat, IBM, Tomitribe and Payara) are enthusiastic about the new situation:

The future of Application Servers

Will the “new Java EE” remain an umbrella specification or a set of independent and consistent specifications?

Corollary question: will Application Servers remain “monolithic platforms” or will they turn into modular and composable platforms?

I opt for the second option as already illustrated today by Red Hat Wildfly Swarm.

Impacts for the developer community?

It may be considered as a good opportunity for the community as a whole to have a more agile and reactive platform making it innovative again.

For individuals, contributing to EE4J can be considered as a springboard to get visibility and influence.

Impacts for the Java EE users?

The current situation is clearly more difficult from a user perspective. The strength of Java EE was its official standard status legitimate by the JCP. Relying on such a standard was of high importance on critical projects with a long lifecycle.

It is clear now that Java EE, in its previous form, has come to an end. Happy or not, we have to cope with it.

The king is dead, long live the king!

What will be the value of the “new Java EE” as a standard? How legitimate will be EE4J without the support of the JCP?

It depends mostly on how fast it will kickoff and provides concrete results. In my humble opinion, the following factors will influence:

  1. Time: as already mentioned,  despite its value, Java EE 8 is not considered at the state of art. The gap must be bridged as quickly as possible to come back into the race. It will be very difficult if EE4J spend months to “just” deliver a Java EE 8 compliant version
  2. Synergy with Microprofile.io: Microprofile.io has already started the job to move forward cloud-native applications, let’s leverage it and inject it into EE4J!
  3. Community: how strong and active will be the EE4J community? Who will find interest beyond actors already in place?
  4. Time again: will vendors and Open Source projects be able to deliver on-time EE4J compliant platforms? One of the main issue with Jave EE was the long delay between the final version of the specification and its availability on application servers.

At this stage, I prefer to stay realistically optimistic. So let’s see what will happen in 2018!

Stay tuned with EE4J user mailing list and EE4J PMC mailing list.


This post was written by a Java EE Guardian, Jean-François James, and first appeared on his blog. James is a Software Architect and a JCP Associate Member with more than 30 years of experience in IT and still passionate about it. He is a DevOps advocate who worked on both sides of the “Wall of Confusion”, Head of Worldline France Expert Network and Atos “Distinguished Expert”.

Advertisements

Advertisements