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 #3: Microservices, Java 8 features, upcoming events and more...

Java

The article Tired of Null Pointer Exceptions? Consider Using Java SE 8's Optional! by Raoul-Gabriel Urma gives an extensive description about how to use Optional to improve your API and avoid NullPointerExceptions.


Oleg Shelajev wrote an interesting article about the unpredictability of parallel streams. The stream API is one of the major features introduced with Java 8 and it seems to be easy and powerful. But as Oleg describes in his article, it can influence the performance of your application in an unpredictable way.


Java EE

Maven archetypes are a quick and easy way to setup a Maven project and immediately start with the implementation. But so far there was no archetype to create a Java EE 7 project with Arquillian dependencies and profiles (at least as far as I know...). If you have used Arquillian to test your application, you know that setting up the profiles for different application servers is always some annoying (copy & paste) work.
This has changed since Arun Gupta introduced a Maven Archetype for Java EE 7 projects with Arquillian profiles on his blog. The archetype provides Java EE 7 dependencies and creates a managed and a remote profile for Wildfly and GlassFish.



The GlassFish team announced FishCAT, the GlassFish Community Acceptance Testing program. The goal of this program is to improve the quality of the GlassFish application server with the help of the community. If you are using GlassFish (4.0.1), you should definitely have a look at this program.


Microservices

Bilgin Ibryam explains his 10 best practices for creating microservices in his article on jaxenter. If you want to know how Apache Camel helps you to create an application based on microservices, you should have a look at this article.


And if you want to read more about microservices, have a look at Matt Stines Microservices Reading List. He has curated an extensive list of currently 47 resources about microservices.


Conferences

Geekout 2014 took place on June 12-13 in Tallinn Estonia and they presented 15 talks within these two days. 2 day conferences with 15 talks is not unusual, but they did something extraordinary. They recorded all talks and put them on their website for free (only 13 at the moment, but the 2 missing shall follow): http://2014.geekout.ee/presentations/


If you like to watch even more conference talks, have a look at the GeeCon Vimeo Channel. You can find there a few talks of their GeeCon 2014 conference.


JSR

Heather VanCura wrote a June JSR Updates post at the Oracle blog.


Gradle

I recommended the gradle multi-part tutorial by Petri Kainulainen already in Java Weekly #1. Until then he published the first two parts where he described how to setup gradle and how to create a simple java project. Now he has published the third part in which he describes how to define the project dependencies:

Upcoming Events

There are three interesting online events this week:

Jason Greene will present What's new in WildFly 8? on Tuesday 5pm UTC at the JBUG: Worldwide. Join the YouTube live stream, if you want to get an overview of the current version of the application server.

On Wednesday 4pm UTC, Sandro Mancuso will talk about Testing and Refactoring Legacy Code at the vJUG. This talk will also be streamed on YouTube.

Oracle's Virtual Technology Summit is taking place this week and next week. They present 3 sessions and run the event 3 times in different time zones, so have a look at their website and decides which date and time fits your schedule.


Done!

That were the most interesting Java related resources I found this week. I hope you find them useful.

If you liked it, please subscribe to the blog and follow me on twitter to not miss any Java Weekly.

If you think I missed something, please post a comment with the link. I will check it and include it in the next issue of Java Weekly.

No comments:

Post a Comment