Steve Millidge wrote a nice post about
using the JCache API with CDI on the Payara application server. All you need to do is activate the included Hazelcast Data Grid and add one CDI annotation to your method.
JPA 2.1 standardized the database schema generation. Roberto Cortez describes in his blog post
JPA DATABASE SCHEMA GENERATION the new configuration parameters and shows how these can be used to setup the database during application deployment.
JDBC batching can provide huge performance benefits, if your application performs lots of write operations. But how to activate it, if you are using Hibernate? And does it still improve the performance, if Hibernate takes care of the database communication?
Yes, if Hibernate is configured correctly, JDBC batching improves the performance a lot. Vlad Mihalcea shows in his recent blog post how to use JDBC batching with Hibernate and how to get the best performance out of it:
How to batch INSERT and UPDATE statements with Hibernate.
Java EE 8
Reza Rahman wrote a short introduction to the Java EE Management API 2.0 (JSR 373), one of the most recent additions to the Java EE 8 JSRs. If you like to learn more about the goals of this JSR and how you can participate, have a look at:
Java EE Management API 2.0 (JSR 373) Spins Up.
Java 9
Alex Blewitt wrote an article about Java 9 and possible future changes based on the EclipseCon keynote given by Marc Reinhold. As you probably already know, the Java Module System will be one of the main changes of Java 9. And therefore it is also the main topic of this article. Alex gives an overview about the module structure and the impacts on the existing Java ecosystem. He also has a look at possible changes that might be introduced after Java 9:
Mark Reinhold on Java 9 and Beyond.
This and that
Gregor Hohpe wrote an in-depth article about This week, the vJUG will present two session from the
JavaLand conference:
On Tuesday 24th at
2:45pm Mani Sarkar & Daniel Bryant will explain
how is Java/JVM built.
On Wednesday 25th at
2:45pm Heather VanCura, Andres Almiray, Anatole Tresch and Ed Burns will talk about the Adopt-a-JSR program and how the JSRs could benefit from participation:
What's coming in Java.Next?JavaLand
I will attend the
JavaLand conference this week and will organize the J-Pardy quiz as part of the
community activities on Tuesday evening. If you like to meet, catch me there or write me on
twitter.
for the next issue of
Java Weekly. You don't want to wait so long, than follow me on
twitter, where I share great resources during the week.
If you like to suggest a link for next weeks issue or something I can improve on, please write me a comment.