News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 
Download Current Issue
ISSUE 2/1/2010 PDF

Need Back Issues?
DOWNLOAD HERE

Receive the print Edition?


 
blogs tab
Visual Studio 2010 Release Candidate Available Today
A Visual Studio 2010 release candidate is available on MSDN.
02/09/2010 09:45 AM EST

Is Microsoft eyeing Office subscription pricing?
Microsoft may be preparing to offer a new Office pricing option called "union," which charges the same for cloud as on-premises.
02/01/2010 09:38 AM EST

Facebook rewrites PHP runtime
Facebook is about to open source its own PHP runtime, written from scratch for speed.
01/30/2010 08:53 PM EST

 

Events calendar tab
2/9/2010 to 2/13/2010
San Francisco
IDG World Expo

2/10/2010 to 2/12/2010
San Francisco
BZ Media

2/17/2010 to 2/25/2010
Atlanta
Python Software Foundation

2/19/2010 to 2/20/2010
Los Angeles
SCALE

2/21/2010 to 2/24/2010
Las Vegas
IBM


 
Most Read Latest News Blog Resources

EJB's Path to Browser Takes Shape


JSR 299 for Web Beans spec fosters loose coupling, strong typing



February 15, 2008 — 
If the committee designing JSR 299 has one goal, it's simplicity.  Java Specification Request, also known as Web Beans, is designed to bring Enterprise Java Beans into the world of the browser without the incongruities of JavaServer Faces. The result is expected to be a unified component model for EJB and JSF, easing the building of Web applications backed by the heavyweight Java infrastructure.

Gavin King, founder of the Hibernate (Java-based object-relational mapping/persistence framework) project and specification lead on JSR 299, explained that JSF and Java EE in general still need work.

“EE needs to be trimmed down a bit," he noted. "There are technologies that are part of the EE platform that are really not needed and are not pulling their weight. There are a number of specs where visibility still needs to be simplified. The servlets specification needs to be simplified. JSF really needs some major improvements.”

One of King's gripes about the Java EE stack is that many of the components needed to build usable Web applications don't behave in similar ways. JSF requires a different set of commands and instructions than standard Java, while Java Portlets require configuration and care to get going. Those factors translate into lost developer productivity, which can make alternative Web frameworks and languages, such as Ruby on Rails and PHP, seem more attractive than Java.

For that reason, King has been building Seam at JBoss, a framework that aims to let Java developers write simple, standard Java code and to have the framework handle all of the custom JSF, Portlet and AJAX calls.

JSR 299's improvements will be coordinated with other JSRs, particularly 314, covering JavaServer Faces 2.0.


The Theme is the Seam
“The theme of [JSR 299] is the idea of loose coupling with strong typing,” King said. “We want to provide a component model, which provides for loosely coupled, very maintainable code. I guess the real point is that Web Beans lets you use EJB very easily from inside the user interface of your application.”

Because King's day job at Red Hat's Middleware division has included much work on Seam, the lessons King has learned from that project may leak into JSR 299. Seam's overarching goal is to hide the complexity involved in building Web applications backed by enterprise Java from both the developer and the business user.

“Seam is very much focused on the idea of contextual state management,” King said. “It has a contextual component model where components have a managed lifecycle. It's very big on the idea of conversations, and it's also where the idea of this deep integration into the Web layer of EE is coming from.”

For now, the specification remains on the drawing board. As the other specifications that will form Java EE 6 begin to take shape as well, so too will JSR 299. King expects to have a beta reference implementation of the code available before the end of 2008.


Share this link: http://www.sdtimes.com/link/31699
 

Add comment


Name*
Email*  
Country     


  • Comment
  • Preview
Loading