Spring on Java 8

Speaker: Juergen Hoeller
Spring has a track record of providing dedicated support for new Java generations in a timely fashion, and now it's right about time to go Java 8: With Spring Framework 4.0, we're providing in-depth support for all relevant OpenJDK 8 features, including lambda expressions, JSR-310 Date and Time, parameter name discovery, and java.util.concurrent enhancements. This talk will illustrate selected Java 8 features within Spring's programming model and explore the impact on application architectures.

12.
The State of Java 8
●
Delayed again...
–
–
now just Developer Preview in September
–
●
scheduled for GA in September 2013
OpenJDK 8 GA as late as March 2014 (!)
IDE support for Java 8 language features
–
IntelliJ: available since IDEA 12, released in Dec 2012
–
Eclipse: announced for June 2014 (!)
–
Spring Tool Suite: Eclipse-based beta support earlier

22.
The State of Java 8, Revisited
●
Current OpenJDK 8 builds work perfectly well for our purposes
–
–
lambdas and method references work great
–
●
JSR-310's java.time package is complete
tracking the latest OpenJDK builds
IntelliJ IDEA 12 is quite advanced in terms of Java 8 support
–
●
works fine with any recent OpenJDK 8 build
No support for 1.8 bytecode in Gradle's test class detection yet
–
Gradle is using an unpatched version of ASM 4.0