EJB lite ? I think I need help…

A co-worker pointed me to this article of a EJB 3.1 series. There is something in called “EJB lite”.

Reading the section on EJB lite, I think I need some help… First of all, they strip out some of the (heavy) things in EJB, like remote session beans and MDBs (message driven beans). What remains is “injection, persistence management, stateless session beans and declarative transactions”, sorta…

This sounds to me, that they try to include a *lightweight* EJB version (of course, the term lightweight is actually overused these days). But… isn’t that the goal of WebBeans as well ? To introduce a “lightweight” component model (by unifying EJB/JSF) ?

So, the article says we may see lightweight implementations of this (like in Spring). I now think also about Guice ?!? Or wait, Guice was pretty much driving WebBeans (the DI part)… So, would/should Spring and Guice have to implement WebBeans and/or EJB lite ?

Looks like some questions to solve for the next Java EE umbrella specification… I think I am a bit confused by this🙂

Howdy!

Posted in ejb, java

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: