Marlabs  
  >>
Passionate about your results
  About Us      Services      Products    Industries  Partners    Careers    Awards News Contact Us 33

Marlabs Blog


Stay connected with the
worldwide business
community
Quick Look Back on Java EE 7 and Beyond Friday, May 17, 2013

With HTML5 gaining lot of momentum in the market Java EE 7 is themed after HTML5 and boost in productivity. Java EE 7 features were focused on WebSocket, JSON support, Batch processing, Concurrency utilities, JAX-RS 2.0 and JMS 2.0.

 

High Productivity
Lot of dependency injection introduced in the platform which means a lesser boilerplate code, thanks to Spring who introduced dependency injection concept which is incorporated by Oracle in Java EE7. Provides more defaults in the platform like default datasource, jms connection factory etc this helps in creating quick POC’s without worrying about what values needs to be passed.

 

WebSocket
Enables duplex bi directional communication over a single TCP channel. Typically when we do a http request it is 2 step process; establish a new TCP connection and then http connection. This will make more heavier since the headers will ride on the these protocols. In websocket there is a connection established and there can be as many data which can be sent and the overhead is only once.

 

JSon Processing
Java api for processing json is built on top of JAXB. Json processing provides streaming api and object model. Selection criteria between streaming api and object model is based on the trade of between the performance and memory.

 

Bean Validator
Typically POJO’s which gets persisted via a jpa persist mechanism to the database didn’t have a mechanism to validate the attributes of the bean. This cost a heavier mechanism of database which throws exception and then propagate this to user interface. Bean validator provides a mechanism to validate the beans and this is annotation driven.

 

java ee7

Image Courtesy: Oracle

 

What to look for in Java EE 8

The main focus on EE 8 release is on cloud and defining standards based on cloud programming model. It makes a great sense since the world is excited towards cloud and support in Java EE 8 is vital.

Other highlights of the Java EE8 :

  1. Cloud
  2. JCache
  3. Multitenancy
  4. Paas Enablement
  5. NoSQL
  6. Thin Server Architecture
  7. Modularity
  8. JSON B

 

Author : Manigandan Mani Srinivasan – Head, Java Practice, Marlabs Bangalore

Tags: , , ,
Posted by Marlabs | No Comments
Post a Comment

Name:


Email Address:


Website:


Comments:


*
 
  Blogger Profiles
 
 
 
 
  Linked in
 
 
 
 
  Marlabs on
Facebook
 
 
 
 
  Follow us
on Twitter
 
 
 
 
  Read our Feed