Cheat Sheet: New Features in JPA 2.1

JPA 2.1 introduced 12 new features, like StoreProcedureQueries, Entity Graphs and Attribute Converter, to make your work with the database easier and more efficient.
Download your free New Features in JPA 2.1 cheat sheet now, to get all the information you need to improve your database access.

This 5 page cheat sheet brings you:

- a short description and
- code snippets for each feature,
- links to more detailed articles.

Signup now and get your free New Features in JPA 2.1 cheat sheet and regular blog updates.

I respect your privacy and have ZERO TOLERANCE for spam!

Java Weekly 13/15: JCache, RESTful conversations, Java EE Management and more...

The Java world is evolving at a rapid pace and it can be challenging to keep track of it. Fortunately lots of great resources are created every week, explaining new features or looking at existing stuff from a different angle.

I am using the Java Weekly series to collect the most interesting links I found during the last week and present them to you all in one place. I hope you find it useful and that it makes it easier for you to keep up-to-date. If you like to suggest a resource or something I can improve on, please leave me a comment.

Java EE

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 RESTful conversations. As he points out in his article, conversation patterns are still relevant in the current era of RESTful applications.


Last week, Bert Ertman presented a session about building modular Java applications in the cloud at the vJUG. If you missed it, you can find the replay, a short write-up and an interview with Bert on the Rebellabs blog.

Upcoming online events

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?


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.

See you next Monday

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.

No comments:

Post a Comment