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 47: Java 9, tweet index, compress and authenticate REST service 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.


Alexey Zhebel wrote a nice guide to the Java VM. He gives a short overview about the overall architecture, the class loader, the execution engine, the memory model and threads. The chapter about performance optimization is a little short and too simplified, but the entire article is a good read to get an overview about the JVM internals.

Java EE

Have you ever tried to compress the response of a REST call? It is quite easy, if you are using a WriterInterceptor. Adrian Matei wrote a nice tutorial about it: How to compress responses in Java REST API with GZip and Jersey.

Arjan Tijms wrote an interesting tutorial about Header based stateless token authentication for JAX-RS. He shows in a detailed way how to implement a JASPIC authentication module to provide a token based user authentication for RESTful web services.


Nigel Deakin proposed an errata release for the JMS 2.0 specification. The errata release will fix some specification bugs which cannot wait for JMS 2.1.

Java 9

Oracles announcement of new Java 9 features was the big news of this week. They announced:
Or have a look at Java 9 – The Ultimate Feature List by Alex Zhitnitsky to get an overview about all announced Java 9 features.

Design and Architecture

The development team at twitter announced the implementation of their new search service which is able to index all tweets ever published. That are about half a trillion tweets. Read more about their architecture at Building a complete Tweet index.


The Wildfly team released version 8.2.0.Final. The most interesting changes are the added support for CDI 1.2 (with Weld 2.2) and Web Sockets 1.1.

Upcoming online events

Andrew Rubinger will speak about Case Studies in Testable Java EE Development at 6pm UTC on Tuesday 25th at the virtual:JBUG.

Patrycja Wegrzynowicz will speak about Secure Authentication and Session Management in Java EE at 5pm UTC on Wednesday 26th at the virtualJUG.

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 every issue.

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