Which IDEs and Servers Support Java EE 8 and Java 9?

DZone 's Guide to

Which IDEs and Servers Support Java EE 8 and Java 9?

Hooray, Java EE 8 and Java 9 are out! Wait, now everything is broken. Let's look the current state of IDE and server support for bleeding edge Java.

· Java Zone ·
Free Resource

I've been wanting to experiment with Java EE 8 and Java 9 as a continuation of my posts on Java 9. Seems simple enough, but it's actually quite hard to get a combination of IDEs and servers to work together.

The easy part of this problem is finding IDEs that support Java 9. All the major IDEs offer JDK support:

I am not really bothered which IDE I use, but generally, I have used Eclipse and NetBeans. So the rest of the post will focus on these, but I would be interested to hear some IntelliJ input.

The Hard Part: Application Servers

This is more complicated, as the only application servers that are Java EE 8 compliant as I understand it are:

This is where it gets complicated!

This means Eclipse doesn't yet support Glassfish 5. I'm not sure on IntelliJ, but that leaves NetBeans 8.2.

As stated, I must install both Java 8 and Java 9. This isn't an issue, as all my projects are built and deployed against Java 9, so I have both JDKs

Setting Up Netbeans

The post on Eclipse support for Glassfish 5 links to a GitHub page for setting up Netbeans 8.2 and Glassfish 5.0.

The focus of that page is Java 8 with a note that JDK9 isn't supported by Glassfish 5.0, so you must use Java 8. A quick check shows that Glassfish 5.0.1 will be released soon. So game over!

Actually No

I concluded that I didn't need full Java EE 8 support, as I only needed specific components. Let's use Arun Gupta’s Java EE 8 Status page. My main aim is to experiment with Java 9 and:

  • Servlet 4.0
  • JAX-RS 2.1
  • JSF2.3
  • CDI 2.0
  • JPA2.1

From Googling, I believe that Wildfly 11 will give me this support on Java 9, although I am struggling to find a page listing the compliant version. Anyone?

This post is not from a frustrated point of view. Everything in Java 9 and Java EE 8 is new, and it takes time to produce software. The purpose of this post was to set out the current status as I see it. I would be interested to hear how others are getting on.

java ,ides ,servers ,java ee 8 ,java 9

Published at DZone with permission of Martin Farrell , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}