Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

The Java EE 7 Feature List: Cloud Focused Upgrades-2 : Page 2


advertisement

Expression Language 3.0 (JSR 341)

  • Separate expression language context into parsing and evaluation contexts independent of the JSP specification
  • Introduction of new customizable expression language coercion rules
  • Reference static methods and members directly in EL expressions without having to define them in Tag Library Descriptor, similar to instance method invocation
  • Adding equality, string concatenation, and sizeof operators
  • CDI Integration so that events can be generated before/during/after the expressions are evaluated

Java Server Faces 2.2 (JSR 344)

  • Making configuration options dynamic, eliminate tag handler class even for non-composite JSP components, introduce shorthand URLs for Facelet Tag Libraries, make cc:interface in composite components optional, enhance deployment, integrate with CDI
  • Component identification and Ajax
  • Support implementation of Portlet Bridge 2.0
  • Support for HTML5 features, such as Forms, Heading, Metadata and Section content model, Flow management, Listener for page navigation events, and new components like FileUpload and BackButton

Context and Dependency Injection 1.1 (JSR 346)

  • Global ordering of interceptors and decorators,
  • API for managing built-in context,
  • Embedded mode to allow startup outside the Java EE container
  • Declarative control over which packages/classes are scanned in a bean archive
  • Bean declaration at constructor level
  • Injection for static members, such as loggers
  • Send CDI events for Servlet events
  • Better support for CDI in libraries when used in the Java EE platform

Bean Validation 1.1 (JSR 349)

  • Integration with other Java EE specs
  • APIs to validate parameters and return values of method calls.
  • Validate parameters and return values on HTTP calls
  • Ability to translate a group into another group while cascading the validation
  • APIs to validate parameters and return values of method calls
  • Apply constraints on group collection
  • Extend the model to support AND and OR style composition

JCache -- Java Temporary Caching API (JSR 107)

In-process caching of Java objects allows an efficient implementation and removes the programmer from the burden of implementing cache expiration, mutual exclusion, spooling, and cache consistency. Objects type, which can be known only at runtime, can be cached, but those which implement the serializable interface can only be spooled. Package: javax.cache.

Cloud Ready Because of Container-based Model

The main focus of Java EE 7 is the cloud. The Java EE platform is already suited for cloud environment, owing to its container-based model and the abstraction of its resource access. Java EE always has been a managed environment where access to external resources and the system is controlled by the containers. The advantage of this container-based model is that portable applications can target single machines as well as cluster deployment without fundamental changes in the programming model. Java EE 7 is expected to evolve this paradigm and enhance it with some incremental changes. The interesting enhancement to look for is on how much it can leverage current architecture to support Java EE platform as a service. However, the promised enhancement under the umbrella of Java EE 7 will definitely have some operational impact on the arena of cloud computing.



Manoj Debnath is a Java programmer with more than seven years of software development experience.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap