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 #15: JavaOne, Lambdas, authentication, HTTP/2 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.




JavaOne

About a week ago, the JavaOne took place in San Francisco. The speakers and attendees are back at home now and took some time to write about the conference and their experience. Here are the articles I liked the most:

Java

Richard Warburton, Raoul Urma and Mario Fusco published a great article about Java 8 Lambdas on InfoQ. Read this article to learn why anonymous inner classes are not sufficient to implement Lambdas and which problem was solved with the usage of the Java 7 invokedynamic bytecode instruction.


Java EE

Mongo DB has become quite popular over the last couple of years. But how to connect to it from a stateless Java EE application?
Obviously there are multiple answers to this question. One is explained in Adrian Mateis article How to connect to MongoDB from a Java EE stateless application where he shows how to use an EJB Singleton to manage the required MongoClient instance.
John Ament pointed out that this is even easier, if you use a CDI producer. He posted a code example for the producer on his github account: MongoProducer.


Cloud

Integrating multiple services into one application, like it is done in most cloud applications, creates several new problems. One of them is authentication. James Barry describes in his recent article the 5 key considerations to authentication.


This and that

Have you heard about the HTTP/2? If not, you should have a look at this article by Microsofts Rob Trace and David Walp. They are explaining the reasons why the new version of the standard was developed, how it is different to the old version and what this means for developers: HTTP/2: The Long-Awaited Sequel.
If you want to know more about it, have a look at the official HTTP/2 website.


Markus Eisele added a new post to his "Heroes of Java" series. This time he interviewed Dan Allen.


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