Adam Bien posted a video Java EE 8 on Java 9 on how to deploy a Java 9 application on Open Liberty using netbeans. Its a great video and worth a look.
I decided to use the same approach as Adam to deploy a JSF Application on Eclipse Oxygen
This post deals with installation and the first part of the project installing the core application, the next post will expand on this by building a JSF 2.3 application.
Ensure you are running Java 9 on both classpath and JAVA_HOME, and also ensure you have maven installed
Open Liberty came from IBM open sourcing WebSphere Liberty, and is a fully compliant Java EE 7 server. They also have an early release Java EE 8 server, which is getting improved all the time in their development builds. We will use a development build for this project, which can be downloaded from Here.
Open Liberty Development Download
Eclipse Oxygen also has Java 9 release available at download – I am using the Java EE version of the eclipse
Work through the installation instructions. This is just unzipping Open Liberty Server to your preferred location, and similarly for Eclipse Oxygen.
Start Eclipse Oxygen –
Installing Open Liberty on Eclipse Oxygen
Finally we need to install “IBM Liberty Development Tools for Oxygen” – Help > Eclipse Marketplace
IBM Liberty Developer Tools for Oxygen
Then connect up our Open Liberty server on the Servers tab
Finally point at your Open Liberty deployment location, and ensure you are using Java 9 –
You can click finish here
Finally we need to install the Java EE 8 Feature –
>> Double Click “WebSphere Application Server Liberty”
>> Click “Open server configuration” then “Feature”
Then “Add…” and select “javaee-8.0”
Id also remove JSF 2.3 as thats included in javaee-8.0
You could start the server now if you want.
The best archetype Ive found for Java EE 8 is also from Adam Bein.
Then run maven (right click the project > Run As… > maven install).
Add Project to Open Liberty
Go to –
Servers > “WebSphere Application Server Liberty” > Right Click “Add and Remove…”
>> Move our javaee8 application from Available to Configured
>> Press Finish
Start Open Liberty
Servers > “WebSphere Application Server Liberty” > Right Click “Start”
You will get an error message about setting a keystore. I am just cancelling this as its used by the “local connector” feature. Ive not found a way to clear this error on Eclipse – but will post when I have.
The server will start and you can access the pre-installed application on –
Woohoo running Java 9 on Java EE 8 Open Liberty!!!
This post uses Adam Bien’s approach to running Java 9 on Java EE 8 Open Liberty – but demonstrates how you can integrate this into Eclipse Oxygen. The next post will build on this archetype to create a simple JSF 2.3 application
Finally I think it is great to see the progress being made to provide Java EE 8 on Java 9, and would like to thank the developers involved in this work.
This post was written by a Martin Farrell, and first appeared Here. Martin Farrel is an independent Java Consultant and trainer based in Edinburgh, UK, with over 18 years Java experience. He has consulted across a range of businesses from banking to telecommunications, and Silicon Valley start-ups. He blogs about Java and Spring technologies on the popular www.javabullets.com blog, and is Most Valuable Blogger at dzone.com and a contributor to javacodegeeks.com.
The results are out and it’s official: Java EE has been retired. This announcement was made by The Eclipse Foundation’s executive director, Mike Milinkovich on his Life at Eclipse blog.
Almost 7,000 people voted in our community poll, and over 64% voted in favor of Jakarta EE.
Goodbye JavaEE, hello Jakarta EE. I was one of the fortunate voters who voted (after a tough thought and decision) on Jakarta EE. Now, I have read responses on Twitter and Reddit that there were only 2 options to choose from (i.e., lack of choice) so let’s have a bit of a history lesson.
How did we get here?
1) The Announcements
On 12 September 2017, David Delabassee announced on the Oracle blog that, along with IBM and RedHat, that:
After careful review, we have selected the Eclipse Foundation as the foundation that we will work with going forward to make the above a reality. The Eclipse Foundation has strong experience and involvement with Java EE and related technologies. This will help us transition Java EE rapidly, create community-friendly processes for evolving the platform, and leverage complementary projects such as MicroProfile. We look forward to this collaboration.
On 15 November 2017, The Eclipse Foundation reached out to the community and the world to “Help Pick the New Name for Java EE” (The primary reason for the name suggestions was due to the Java name copyright. Oracle owns the name Java and now that the project moved to The Eclipse Foundation, they could not have any projects that started with the word Java). Wayne Beaton (Director of Open Source Projects at The Eclipse Foundation) opened up the GitHub issue and the responses were “awesome” (his word). It was in phase 1 that GitHub user, Kenneth J. Jaeger, suggested the name “Jakarta Enterprise Edition”.
3) Brand Name Selection Phase 2: The vote.
On 07 February 2018, the voting was announced for the brand name selection and it began under the EE.next Working group, which is similar to Java Community Process (JCP) with Oracle. The vote ran until the 23 February 2018.
As mentioned on point 2, it was suggested during phase 1 of the name brand selection process. Jakarta (was) an Apache trademark and it has a significant history in contributing to open source Java solutions. Apache Jakarta was retired on 21 December 2011. David Blevins, CEO and Founder of Tomitribe, points out the advantage of the new name Jakarta EE and how Apache Software Foundation have agreed & given the rights to The Eclipse Foundation to use the Jakarta name:
While “Jakarta EE” is not only great because it can be shortened to
“JEE”, referred to simply as “EE” and provides us with a free pass on any acronyms that have “J” in them, it also has room to grow.
The bare word “Jakarta” would be ours and in the future we could create other things under this brand if we wanted. This may include “Jakarta ME”, “Jakarta MicroProfile” or a conference called “JakartaOne.” All of these names roll off the tongue, are instantly familiar and most importantly are community owned and free of any external licensing restrictions.
In the words of Mike Milinkovich:
However, as of today, it is preferred that when you are generically referring to this open source software platform that you call it Jakarta EE rather than EE4J. EE4J, the Eclipse Top-level project, is the only name we’ve had for a couple of months, but as we at least tried to make clear, that was never intended to be the brand name.
So, the terms J2EE and Java EE are no longer valid. It’s a hard pill to swallow but the name is here to stay.
This post was written by a Java EE Guardian, Buhake Sindi, and first appeared here. Buhake is a DevOps engineer, Java & Jakarta EE Developer, Engineer & Consultant with over 12 years of Development experience. He also participates in teaching programming to children through Devoxx4Kids South Africa.
I have a dream: that one day the whole Java community would join forces to strengthen its position on server-side applications where movements such as containerization, microservices, cloud-native or serverless are challenging its paradigms.
As explained in my previous post, Java EE (Enterprise Edition) won’t go beyond version 8 and the future will take a different path under a new name and governance within the Eclipse Enterprise for Java (EE4J) project.
I am entering a dangerous territory on a subject which has often been very polemical but I will try to deal with it with as much objectivity as possible. At my own risk and peril…
Java EE and Spring: a complex relationship
In my impact assessment on the actors of the Java EE ecosystem, I have omitted to mention an indirect but very influential one: Pivotal and more precisely its famous Spring framework.
The relationship between Java EE and Spring has always been rich and complex in “best enemies” mode.
Spring was born in 2004, at the initiative of Rod Johnson, in response to the (real) complexity of J2EE (Java 2 Platform, Enterprise Edition) and in particular that of EJB 2 (Enterprise Java Beans). Since then, Spring and Java EE never stopped competing and influencing each other:
The arrival of Spring (and Hibernate) has caused a beneficial electroshock in the Java EE community which has given birth to EJB 3 and JPA 1, part of a much more approachable Java EE 5 released in 2006,
Spring Batch directly influenced the Batch specification (JSR 352),
Spring Dependency Injection inspired CDI (Context and Dependency Injection),
Spring has always opportunely used the standards from J2EE and Java EE that were of interest to them such as Servlet, JMS, and JPA,
Still today, Spring 5 claims to be compatible with Java EE 8.
Since its creation, Spring has been able to please developers thanks to a pragmatic approach and a very good time-to-market allowing to quickly adopt technological innovations: NoSQL, AMQP, microservices, cloud-native applications…
Since 2006, Java EE has also prioritized simplicity and developer friendliness but with a slower time-to-market due to two main reasons:
The length of time it takes for specifications to be developed within the JCP (Java Community Process): even with a light process, it takes more time to reach an agreement when involving a large number of stakeholders rather than when acting alone,
Implementation and certification time: it often takes several months after a specification release to find supporting and certified Application Servers.
Recently, this gap has widened:
Spring Boot has dramatically increased ease-of-use by pushing the convention over configuration principle to the maximum,
On its side, Java EE has been (much) slower. After a good version 7 released in 2013, a blurry period has set in. In 2016, under the influence of the community, Oracle announced a new Java EE roadmap:
Java EE 8 was released in September 2017, an interesting and highly expected but not revolutionary version. More expectation was put on Java EE 9 in terms of innovation. Except that Java EE 9 will never exist!
In parallel, the Microprofile.io project was launched under the Eclipse Foundation in mid-2016 and gave a new momentum to the Java EE Ecosystem aiming at optimizing Enterprise Java for a microservices architecture. Microprofile 1.0 was based on three specifications representing the least amount of APIs required to build a microservice: JAX-RS 2.0, CDI 1.2 and JSON-P 1.0. MicroProfile 1.2 was released in September 2017 with additional features including Configuration, Fault Tolerance, JWT, Metrics and Health Check. It is expected that version 2.0 will align all APIs to Java EE 8.
Transitioning to EE4J
EE4J aims to offer a more collaborative and responsive way of working. However, the prerequisites for success are not negligible:
Transfer of all Java EE 8 assets (for each specification: documentation, Reference Implementation, and Test Compatibility Kit). This is an ongoing work as explained by David Delabassee,
Implementation of a new governance model and operating system: both flexible and well-organized. A significant step has recently been achieved with the publication of the EE.next working group charter,
Creation and active animation of a community,
Product and package renaming: Oracle does not allow EE4J to reuse the “Java EE” trademark and the javax package (for new specifications). Another name must, therefore, be found. The final vote is open with two options: “Jakarta EE” or “Enterprise Profile”, Even if this renaming is not dramatic in itself, it will require an additional evangelization effort among developers and companies.
Once these elements are in place, EE4J will be able to evolve and adapt to the requirements of cloud-native applications and the changes of the Java SE platform, in particular, Java Platform Module System, which will undoubtedly require a lot of substantial work.
An opportunity for reconciliation?
Beyond governance and technical aspects, EE4J will have to find legitimacy because its status as a standard will disappear outside the scope of the JCP. In this context, EE4J cannot afford the luxury of a fratricidal war against Spring. More broadly, I would say that the overall Java ecosystem cannot afford such luxury. Java’s hegemony for server applications is over and competition is fierce with valuable alternatives such as Node.js, Go, and Python. It would be good to join forces to give a new impetus to bring community and industry together.
Why not? If EE4J delivers a set of independent “à la carte” and compatible specifications,
Spring teams would be able to make specific contributions to those that interest them making then Spring framework a major actor for EE4J.
As developers and users of Java, we all have an interest in it. I have a dream … Will it come true?
This post was written by a Java EE Guardian, Jean-François James, and first appeared here. 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”.
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.
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:
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:
Java SE 8 alignment: DateTime API, CompetableFuture, repeatable annotations
CDI 2.0: asynchronous events, events ordering, better integration in other specs. With this release, CDI confirms its role of foundation of the Java EE platform
Security: simplification, secret management, modernization, OAuth2 and OpenID support
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:
the programming model is complete and flexible
one single dependency to rule them all: a typical Maven pom.xml is no more than 20 lines even for complex projects
CDI proves to be easy-to-use and powerful
there is a good integration with most IDE
modern application servers such as TomEE, Payara, Red Hat Wildfly and IBM Liberty are lightweight, offering fast startup and low footprint (Sebastien Daschner clearly demonstrates it in his JavaOne 2016 talk)
In my opinion, the main limitations of Java EE are:
not really at the state of the art: despite its value, most developers do not consider it as a first choice to implement cloud-native applications
lack of overall consistency due to different component models: Servlet, CDI beans, EJB … In particular, the border between CDI and EJB is unclear, this might evolve in the future with CDI taking the role of “first-class citizen”
relative complexity for testing, despite all the good points that I see in Arquillian
the insufficient pace of change both for the specifications and their implementations
not aligned with Java SE: it will take a while before seeing the new Java EE embracing the modularity brought by Java 9.
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 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:
Java EE as a brand name
even the use of Java in a new name is subject to discussion
it cannot reuse the javax package.
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:
a documentation describing the specification
a Reference Implementation to illustrate the viability of the specification
a 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.
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?
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.
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:
they will have more power and influence that inside the JCP
they will have free access to the Test Compatibility Kits previously owned by Oracle
they will be able to deliver “application servers” in an iterative way without suffering from the next Java EE release “tunnel effect”.
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:
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
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!
Community: how strong and active will be the EE4J community? Who will find interest beyond actors already in place?
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!
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”.
Oracle has promised to open up the ownership of Java EE by moving it to the Eclipse Foundation via the EE4J project. This is a tremendously positive move that will make a very important part of the overall Java platform truly open and agile.
The problem is that Oracle wants to restrict the use of the word “Java” and the use of the “javax” packages for EE4J due to corporate branding concerns. This is forcing a rename of Java EE and the use of another package for new Java EE technologies. We believe this desire is not aligned with the best interests of the community and the industry. This may indeed also be true of Oracle’s own business interests as Java EE is moved further in the direction of microservices, the cloud and serverless computing.
The clearest evidence that the current direction to rename and repackage Java EE is wrongheaded is community opinion. When asked, developers overwhelmingly support keeping the Java EE name and “javax” packages (#1, #2). These preferences are so strong they have remained unchanged for several months even despite current declared EE4J plans.
There are several sensible reasons these preferences make sense:
While no name is perfect, Java EE is a very suitable name for the platform. This has become especially apparent as the community has struggled repeatedly to come up with a sensible new name.
The renaming of the platform from J2EE to Java EE causes continued market confusion even over a decade after the renaming. A further renaming of the platform will likely only add to the confusion. This includes the existence of pervasive resources referring to the Java EE name and javax packages. It will be unclear for a long time how these resources relate to a rebranded platform.
Java EE should be and is seen as an integral part of the overall official Java open standard platform. This distinction is important and uniquely valuable to users, contributors, implementors and supporters of Java EE. Any new name that does not prominently feature Java will diminish this value. The problem applies even more so to a packaging scheme other than “javax”.
A new platform in which a significant portion of APIs belong in the “javax” package while another significant portion of APIs belong in another package is confusing and inelegant.
Stability, backwards-compatibility and continuity are key characteristics Java EE adopters have valued for a long time. A forced rebranding can be perceived to be undermining these valuable characteristics.
All of these factors will likely stand in the way of the rapid success of a new platform with a new name and new package structure. Indeed these factors – particularly a perceived lack of continuity – may even negatively impact adoption of existing Java EE technologies.
On behalf of the community, the Java EE Guardians ask that Oracle and other EE4J stakeholders work together to allow the new platform to retain the Java EE name, the “javax.enterprise” package for new technologies and existing “javax” packages for existing technologies.
There are many ways these goals could be accomplished. The following are just a few obvious possibilities.
While naming is a very important concern, retaining the “javax/javax.enterprise” packages is even more important. One way this could be easily accomplished is still standardizing EE4J technologies though the JCP. The relationship between EE4J and the JCP could be very similar to the relationship between OpenJDK and the JCP. While most work can happen in EE4J, the JCP could be used as a passthrough standardization mechanism. The recent faster release cadence for Java SE through the JCP proves that agility is not the major concern in the JCP. The downside of the approach is that Oracle and other EE4J stakeholders would need to work together to resolve mutual concerns over the JCP.
The Java EE Guardians sincerely hope Oracle and EE4J stakeholders listen to and adequately address community concerns. It must be noted that even if the naming and packaging issues are not properly resolved, timely forward movement of the EE4J initiative is still in the best interests of the community.
The Java EE Guardians stand behind the EE4J initiative even despite the fact that failing to properly resolve the naming and packaging issues will pose significant challenges to an already daunting effort.
The Java EE Guardians are a joint community of many Java Champions, Java User Groups, Java User Group leaders, JCP experts, JCP members, open source committers, authors, bloggers, speakers and ordinary Java developers around the world.