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 8/15: Docker, JVM mysteries, a dynamic scripting lib 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.


While helping a colleague with a support case, Nikita Salnikov-Tarnovski stumbled upon an interesting problem. The JVM tools reported less available memory than the specified -Xmx and to make it completely weird, different tools reported different values. He dug deep and found the answer somewhere well hidden in the JVM code.

Java EE

Vlad Mihalcea published the next post of his Hibernate Masterclass. This time, he has a look at the OPTIMISTIC_FORCE_INCREMENT lock mode: HIBERNATE LOCKING PATTERNS – HOW DOES OPTIMISTIC_FORCE_INCREMENT LOCK MODE WORK.

Several errors in the Java EE 7 specification were found over the last nearly two years. These will be addressed in the upcoming maintenance release: Java EE 7 Maintenance Release.


Last week Arun Gupta gave a great talk about packaging Java EE applications using Docker and Kubernetes in the vJUG. Don't worry, if you missed it. You can watch the replay and a short interview with Arun or read the write up of the session at the RebelLabs blog.

Josh Dreyfuss had a look at Docker and the current hype about it. Despite being a great technology, he spotted 5 misconceptions a Java developer should consider.

This and that

Should we write documentation and if yes, how much documentation do we really need? There are different approaches ranging from document everything to write no documentation at all. As so often, the best approach is somewhere in between those extremes.
Petri Kainulainen wrote about his 3 requirements to good documentation and which documents we really need: Writing Just Enough Documentation.

James Kojo, Vasanth Asokan, George Campbell and Aaron Tull wrote an interesting post on the netflix tech blog about their dynamic scripting library Nicobar which is used to support more than 1000 different devices with billions of requests per day: Nicobar: Dynamic Scripting Library for Java.

Upcoming online events

Bad news for all vJUG and vJBUG fans: This weeks sessions will run at the same time. So you need to decide which session you want to attend live and which you will watch as a replay:

Eric D. Schabell will give his talk Hit the ground running with BPM — a starter kit at 6pm UTC on Tuesday 17th at the vJBUG.

At the same time Heinz Kabutz will talk about The Live Reflection Madness at the vJUG.

See you next week!

These were the most interesting resources I found this week. I hope you find them useful and I see you next Monday for the next issue. You can subscribe below to get an email notification for it or follow me on twitter and google+.

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