If you've been working primarily with older J2EE versions and haven't spent much time digging into the new features available in Java EE 7, it's time to get up to speed. You can still rely on your existing skillset, but this is a great opportunity to add to your Java development repertoire with this more flexible and user-friendly specification. TheServerSide asked Peter Pilgrim, author of the Java EE 7 Developer Handbook, which features old school J2EE developers should familiarize themselves with in version 7.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Five Java EE 7 features that will make you program like a pro:
- If you are leapfrogging from legacy J2EE all the way to the bleeding edge of business, Peter says WebSockets may be helpful. That's certainly true if your organization is going mobile and working with HTML5.
- Even more traditional tools like servlets also deserve attention – particularly the use of servlet filters for authentication.
- Another thing to look at is the Concurrency API for Java EE 7 which helps get around the problem of the application not knowing about the threads that you may want to spawn in the application. "Now you are allowed to have threads that are managed by the container."
- If you are working in the web world, Pilgrim mentions that the JSON processing API is very helpful to build JSON objects programmatically, all of which is playing a big role in SOA based services. Programmers still need a way to bind a Java POJO directly to JSON objects. So, watch for this in the next specification.