users@javaee-spec.java.net

[javaee-spec users] Re: Introduction; first question on extension w/ default methods

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Fri, 27 May 2016 16:49:04 +0200

Hi Scott,

Interesting to hear about the possibility of a Batch MR!

So with EE 8 requiring Java 8 (hopefully a correct assumption), and with
> Java 8's default methods, is it now an option to add new methods with
> default implementations,
> (assuming the individual specs can define a reasonable default and write
> it into the spec)?


That assumption should be correct. See the platform JSR:
https://jcp.org/en/jsr/detail?id=366

Specifically both JSR 372 and 375 have already started taking advantage of
Java 8 in the implementation of their respective RIs.

The Servlet 4.0 spec has done exactly what you mentioned, adding new
methods to interfaces and using a Java 8 default implementation of those
for compatibility.

Kind regards,
Arjan Tijms






>
>
> Is this the right forum BTW for asking about individual specs' maintenance
> release ideas/issues as a part of the bigger EE platform? Or is there some
> spec leads forum or something?
>
> Thank you,
> ------------------------------------------------------
> Scott Kurz
> WebSphere Batch / Compute Grid Development
> skurz_at_us.ibm.com
> --------------------------------------------------------
>