Hi,
We have had a lot of discussion about this for OmniFaces as well, and it's
clear that for most every project choosing the right JDK version is not
trivial. In general, choosing a version that's too new will make it hard
for some users to use the project, but sticking with versions that are too
old will needlessly impede the project going forward.
Specifically for Java EE projects it would be great though if the Java EE
version number was more strongly aligned with the Java SE version number,
e.g. Java EE 7 requiring Java SE 7, Java EE 8 requiring Java SE 8 and so
forth, and that all JSRs under the EE umbrella felt free to actually take
advantage of that JDK version.
With Java EE 5, EJB 3 and JPA 1.0 indeed took advantage of the new JDK 5
features (annotations mostly), but JSF only took advantage of JDK 5
features in Java EE 6.
For the JSF in Java EE 8 I thus don't think it will be a bridge too far to
use JDK 8 features. If history is anything to go by, the Java EE 8 spec and
RI may be released around 2016/2017, and other implementations (JBoss,
WebLogic, etc) some 1 to 3 years later. Meaning that for many people Java
EE 8 will not be a practical concern until 2017/2020. JDK 8 will then be
3~6 years old.
People who run JSF on Tomcat and are thus not concerned that much with Java
EE releases, will be able to do so when the RI of JSF becomes available,
which is often around the Java EE spec release as well. In that case too
JDK 8 will have been around for 2~3 years. And a part of the Tomcat users
may use MyFaces which is a bit behind Mojarra typically, making the time
that JDK 8 has been available somewhat longer to them.
Kind regards,
Arjan Tijms
On Fri, Apr 11, 2014 at 4:57 PM, Edward Burns <edward.burns_at_oracle.com>wrote:
> Hello JSF spec users,
>
> I'd like to get this out there sooner rather than later. The next
> version of the JSF spec beyond JSF 2.2 will require Java SE 7 as a
> minimum. I'd really like to go with SE 8 (think Lambdas and java flow
> definition), but I think that's a bridge too far at this point. Please
> feel free to comment as you will, this "users" list is open for anyone.
>
>
> Thanks,
>
> Ed
> --
> | edward.burns_at_oracle.com | office: +1 407 458 0017
>