Imagine a bacon-wrapped Ferrari. Still not better than our free technical reports.
See all our reports

vJUG session with Arun Gupta: “Getting started with Java EE 7”

Happy new year from the vJUG! This week, Arun Gupta (@arungupta) gave a Java EE 7 intro session to the vJUG, the first session in 2014. You can catch the video here:

Other links:
Slides on Slideshare
IRC chat logs

Arun outlined the three key themes that went into Java EE 7: Developer Productivity, Embracing HTML 5 and Meeting Enterprise demands. Arun’s top ten features of Java EE7, which followed these trends were:

  1. WebSocket client/server endpoints
  2. Batch Applications
  3. JSON Processing
  4. Concurrency Utilities
  5. Simplified JMS API
  6. @Transactiona; and @TransactionScoped
  7. JAX-RD Client API
  8. Default Resources
  9. More annotated POJOs
  10. Faces Flow

Arun gave a great introduction to each of these new/improved features. A few which caught my eye particularly were the WebSocket endpoint support, new concurrent utilities and JMS 2.0.

The Java API for WebSocket 1.0 adds support for Server and Client WebSocket endpoints. Essentially you can turn POJOs into endpoints via annotations @ServerEndpoint and @ClientEndpoint or programatically. You can also annotate methods which would then be called upon events, such as @onMessage.

In Java EE containers, it’s a really bad thing to start up a new thread and containers have often dealt with this themselves with their own proprietary implementations. The new Concurrency Utilities in Java EE provides executor services to assist with this thread creation.

JMS version 2.0 revised the way you would write your messaging code, by removing boilerplate code and checked exceptions and makes use of annotations such as injecting an JMSContext (new in JMS 2.0) or destinations as well as sending a message in a single line of code.

This session is a must watch for developers who want to top up or refresh their Java EE knowledge or for people to understand the kind of things which Java EE offers these days.

So What’s Next?

Our next session is “How To Do Kick-Ass Software Development” by Sven Peters on Wednesday, January 15, 2014. Here’s a snippet of the abstract to get the juices flowing:

With Kick-Ass Software Development you actually get stuff done. Feedback cycles are short, code quality is awesome and customers get the features they lust after. Less mangers managing, less testers testing and less IT-operators operating. The developers take the power back, making them much happier. Sound like paradise? It is!

Join vJUG at 17:00 UTC on January 15th