InfoQ

News

Web Beans JSR 299 approved by JCP for further development

Posted by Floyd Marinescu on Jun 07, 2006 10:48 AM

Community
Java
Topics
Web Frameworks,
JCP Standards
Tags
JBoss Seam,
JBoss,
Shale,
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.

1 comment

Reply

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.

Exclusive Content

Intentional Software - Democratizing Software Creation

Business users doing programming? Simonyi and Kolk presents how Intentional Software offers a radical new software approach that separates business knowledge from software engineering knowledge.

Getting Started with Grails

Jason Rudolph discusses Java/Grails integration, Grails plugins, creating a Grails sample application, Grails app structure, data querying and persistence, validation, controllers and tag libraries.

Creating Product Owner Success

The Scrum Product Owner role is powerful, valuable and challenging to implement. It brings healthier relationships between customers and developers, and competitive advantage - if you do it right.

Book Excerpt and Interview: Effective Java, Second Edition

Effective Java, Second Edition by Joshua Bloch is an updated version of the classic first edition, which won a 2001 Jolt Award. InfoQ asked Bloch questions about the areas that the new edition covers.

Tapestry for Nonbelievers

A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.

Pete Lacey on REST and Web Services

In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.

Business Natural Languages Development in Ruby

Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.

Distributed Version Control Systems: A Not-So-Quick Guide Through

Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.