InfoQ

News

Web Beans JSR 299 approved by JCP for further development

Posted by Floyd Marinescu on Jun 07, 2006

Community
Java
Topics
Web Frameworks ,
JCP Standards
Tags
Shale ,
JBoss ,
JBoss Seam ,
Web Beans
The new Web Beans JSR 299 has been approved by the JCP executive committee for further development.  Web Beans aims to enable EJB 3 session and entity beans to be used as JSF managed beans (known as actions in other frameworks) eliminating the dual layers of web actions and EJB's common in web apps. Instead, EJB's will BE the actions. Web Beans was first submitted to the JCP this past May by JBoss,  with support from Oracle, Sun, Borland, and Google. 

A number of people are calling Web Beans as a standardization of JBoss SEAM. Spec lead Gavin King insists that Seam standardizes some of the best features from a nubmer of frameworks, such as some of the first class constructs for modelling user interactions in use within frameworks like JBoss SEAM, Struts Shale, and Oracle ADF.

Some specifics from the proposal include:
  • Changes to EJB 3 that will be needed for EJB's to act as JSF managed beans.
  • Annotations for manipulating contextual variables in a stateful, contextual, component-based architecture.
  • An enhanced context model including conversational and business process contexts.
  • Extension points to allow the integration of business process management engines.
  • Integration of Java Persistence API extended persistence contexts.
EJB, which began as a framework for distributed transactional components. has typically been used by developers as a transactional services layer, completely divorsed from the web tier.  This JSR recognizes that the majority of developers using EJB are using it to build web applications and will attempt to standardize the binding between web and EJB's, which (among other things) will eliminate the 'glue' presentation logic typical in the presentation tier before calling the services layer. Oracle has been doing this for some time with ADF + JDeveloper, and as does the more recent JBoss SEAM.  

Support for this standard among the executive committee was strong and unanimous.  BEA commented that Web Beans "appears to be a sufficient challenge to achieve, but, in light of the overwhelming support at this stage of the process, we are prepared to see it go ahead."

JSR 299 will be the first JSR ever led by JBoss. The expert group for the JSR will be formed over the next few weeks.
I like it by Tomasz Blachowicz Posted Jun 7, 2006 4:34 PM
  1. Back to top

    I like it

    Jun 7, 2006 4:34 PM by Tomasz Blachowicz

    Great news for the community I believe. Gavin King has a huge impact on JPA and EJB3 specification which are important innovations in Java EE. JCP299 seems to be very interesting and innovative initiative. In my humble opinion this one could be the missing piece in the whole Java EE jigsaw seen from the web perspective. What I like most is that such an approach aims to simplify both design and development of Java EE web applications without loosing its strengths.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.