JavaOne is over for another year. For those of us unlucky enough to be stuck at home or work, here is a Voxxed roundup of last week’s events complete with links to session recordings.
Java EE is on the table
In the JavaOne opening keynote, we were assured that Oracle is listening and that there is a very well defined plan for Java EE 8 and Java EE 9. The proposed next stage for Java EE is ‘New AppDev Style for cloud and microservices’. Keen to evolve it and respond to the community’s demands for active development on Java EE, Oracle have produced a survey. They ask that participants consider the proposals for Java EE described at JavaOne 2016.
If you didn’t already know about Project Jigsaw…
Then you have at least five videos waiting for you. Oracle’s Alex Buckley and Alan Bateman have given most of these talks before but they are worth a watch. According to Buckley: “Modules are about the shape of programs in the large. We deal with classes and packages and get bigger from there.”
First, Oracle’s Alan Bateman invited us to Prepare for JDK 9. This talk focused on the implications of the changes in JDK 9, particularly on the strong encapsulation around the JDK internal APIs. The presentation helps if you are worried that JDK 9 will break your existing code.
Second, Bateman is back with Introduction to Modular Development. This is a gentle introduction to the Java Platform Module System in JDK 9. It covers the basics of the modularity landscape and includes a demo on how to develop a module from scratch.
Oracle’s Alex Buckley gives Bateman a slight break by giving the first half of Advanced Modular Development. The talk focuses on migration. This deals with, in essence, where modules come from and how you are going to convert your application into something modular. Buckley discussed top-down migration of an application to the module system. Bateman deals with bottom-up migration, looking at libraries in the second half.
Buckley then gives the forth talk, Modules and Services. This is the first presentation on this and is well worth a watch. It discusses what services are and how they work. You have to very explicitly design for services, according to Buckley: “If you reshape a module, its quite likely that other people will notice. And although modules are expressed in the Java language, they are in some ways outside the language. They define architecture more than code… I say this because services are the purest form of architectural construct offered by the module system.”
Finally there is Project Jigsaw: Under the Hood, which is a deep-dive into the key feature of JDK 9. Buckley discusses how the module system works with the Java language and VM to improve reliability of your code, as well as migration and what modules are fundamentally capable of. He concludes with what to watch out for on the road to JDK 9.
Old favourite lambdas were covered by Java Champion Henri Tremblay from Terracotta’s Learn Java 8: Lambdas and Functional Programming tutorial.
There was a good, clear demo on Refactoring to Functional Style with Java 8 from award-winning author Dr. Venkat Subramaniam, as well as A Few Hidden Treasures in Java 8 – a valuable look beyond lambdas and streams.
On the subject of refactoring, another must-see is Trisha Gee from JetBrains with Refactoring to Java 8, which is not yet on the JavaOne youtube channel but you can see her give the same talk at Devoxx UK 2016.
— Paul Webber (@sdjug) September 21, 2016
Microservices are becoming more common. Voxxed top pick from JavaOne is Microservices for Mortals by Bert Ertman, a Fellow at Luminis. His session goes over the benefits, and more importantly the pitfalls of using a microservices-based architecture: “I have seen many, many presentations on microservices already, and most of them really have this ‘alleluia’ vibe to it. So this is not going to be an anti-microservices presentation but it sure is an objective view…”.
— Bert Breeman (@BertBreeman) October 28, 2015
Another great talk is by Mark Heckler, Principal Technologist/Developer Advocate at Pivotal. Unfortunately his talk, ‘Bundling Microservices to Optimize Consumption for Devices with Spring Cloud and Netflix OSS’, is not available on the JavaOne channel yet (but the talk at a previous conference can be seen here).
Other sessions to look out for
Java Libraries You Can’t Afford to Miss with Andres Almiray and Ixchel Ruiz from Canoo Engineering AG discusses some fairly new libraries that are ‘bound to make a big impact in the ecosystem’.
‘Increasing Code Quality with Gamification’ by CGI Java developer Alexander Chatzizacharias is a fun session on the power of gamification and motivating fellow developers. This isn’t yet on the JavaOne youtube channel, but its worth looking out for.
The Community Strikes Back
JavaOne wasn’t all about Oracle. The conference finished on a high with IBM to open source the IBM Java SDK.
Amazingly I have been paying attention to the entire IBM keynote. That is a first in 15 #JavaOne conferences. Cool stuff.
— Bert Ertman (@BertErtman) September 22, 2016
Several key announcements, such as the Lightbend survey, the release of MicroProfile 1.0 and Gluon’s Ahead of Time compiler point to a changing mood since Oracle’s continued delays. The community are making it clear what they want and need from Oracle. This is with thanks especially to the campaign of the Java EE Guardians. Oracle is responding, and in areas where they are falling behind industry demands, other players are stepping in and providing solutions.