Saturday, June 29, 2013

Java EE7 and Its Evaluatioon


After more than three years with JEE 6 , The latest iteration of java enterprise edition has landed, this version includes improvements and tweaks in different areas of Java EE, specially this version includes introduction of HTML 5. As java developers , we will able to more focus on writing our business logic than writing boilerplate code, have better support for the latest Web applications and frameworks, and gain access to enhanced scalability and richer, simpler functionality. New Java EE 7 will
benefit from new features that enable portable batch processing and improved scalability.

Evolution of Java Enterprise Platform
Over 15 years, Java enterprise platform has changed the world on enterprise  solution implementation and developers around the world  has committed to keep the momentum going.



1998 - 2004
Java EE evolved as enterprise application development platform , and main focus was on robustness and ease of development which extended to facilitate multitier server centric applications development, deployments and maintenance.


Features 
  •   Servlet and JSP
  •  EJB , CMP , RMI/IIOP
  •  Java Connector Architecture
  •  Web Services


2005 - 2012

The focus  shifted to increase developer efficiency and introduction of light weight frameworks like Web Profile as subset of  Java EE specification.

Features 
  •    Introduction of annotation.
  •    EJB 3 business component development model
  •    Persistence API
  •    RESTFull Web Services
  •    Web Profile and Managed beans


2013 - Future       
                                  
With increase demand of enterprise solution to be simplified and reusable , next level of Java EE will be moved into cloud (PaaS)support. Java EE8 will be mainly focus on cloud support  and etc.

Features 
  •    HTML 5 support
  •    Java API for Web Socket
  •            Batch Processing support for Java
  •            Concurrency utilities
  •     Native Jason support


Theme of JEE 7
There are 3 major themes of Java EE 7 as shown below.





Delivering HTML5 dynamic, scalable applications
  •    Reduce response time with low latency data exchange using WebSockets
  •    Simplify data parsing for portable applications with standard JSON support
  •    Deliver asynchronous, scalable, high performance RESTful Services and Async Servlets


Increasing developer productivity through simplification and new container services
  •    Simplify application architecture with a cohesive integrated platform
  •    Increase efficiency with reduced boiler-plate code and broader use of annotations
  •    Enhance application portability with standard RESTful web service client support


And meeting the additional demands of the enterprise by adding new enterprise technologies.
  •    Break down batch jobs into manageable chunks for uninterrupted OLTP performance
  •           Easily define multithreaded concurrent tasks for improved scalability
  •    Deliver transactional applications with choice and flexibility

Major 4 features in Java EE 7

1. HTML5 , Web Socket and Client/Server endpoints


  • Java EE7 is mainly focused on HTML5 and its improvements to the spec,  which allows to develop multimedia enriched web applications , support will be via Web Socket and JSON.
  •  Web Socket is a way of two way communication with web app and the remote server in HTTP fashion with bidirectional full-duplex TCP connection.
  •  Annotation makes everything simple
                                @ServerEndpoint  - convert your POJO class to be web socket server
                  @ClientEndpoint  -  convert your POJO  class to be client socket end point.