On 15/10/18 18:53, Berneburg, Cris J. - US wrote:
> Hi Folks
> 
> What has anyone been thinking about the upcoming Oracle Java 11 release / 
> support stuff?  Frankly,  I'm confused by it all and am still trying to wrap 
> my brain around it.  I have concerns about the potential implications for my 
> little project, and also wonder about Tomcat at large.
> 
> No JRE - huh?  How do we run Java apps w/o a Java runtime?  Wouldn't 
> installing a JDK in production be kind of a security issue?  I can imagine 
> security departments not being thrilled about that.  Does Tomcat support 
> being run on an OpenJRE?

The argument for a JRE vs a JDK is that the JDK includes a compiler. The
only reason Tomcat can run on a JRE and still support JSPs (which
require compilation) is that Tomcat includes a Java compiler. I don't
think the security argument holds much water.

OpenJDK is very close to the Oracle JDK these days. I regularly run
Tomcat's unit tests with the latest OpenJDK and have yet to find an
issue that is OpenJDK specific.

Tomcat runs happily (and is supported) on a JRE.

If the JRE has passed the Java TCK then Tomcat should run on it. I don't
think there is an official Tomcat position but my expectation is if a
Tomcat bug (as opposed to a Java bug) appears when running on any Java
implementation that has passed the TCK then the Tomcat team would treat
that as a Tomcat bug and fix it. The caveat is that any such fix is a
lot easier if we have access to that particular version of Java and a
platform to run it on.

> Are there any implications for Tomcat?

Not directly. Jakarta EE will need to make a decision about minimum Java
versions and the like for the next round of spec updates. I expect
they'll settle on Java 11 but that discussion hasn't really started yet.

I'd be more concerned that Oracle are starting to charge for production
usage. That alone would be enough for me to switch to OpenJDK.

I haven't yet got around to installing a Java 11 GA release. I'm still
using one of the final EA releases. I'm currently intending to only
install OpenJDK for Java 11 onwards. I'm not expecting this to cause me
any issues.

> I am imagining spending all my time being taken up by Java upgrades with 
> subsequent builds, regression testing, red tape, and deployments, without 
> delivering any actual new value to our customer.  :-\

I'd plan to stick to the LTS releases.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to