Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3 = the future

 
jim cato
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Some would say that EJB have so far failed to deliver an efficient standard portable solution to data access.

Do you think that the latest incarnation, EJB3, does achieve this and furthermore will underpin data access strategies in the future?

To what extent are EJB3 covered in the book?

Cheers,
Jim
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think JPA, which really supplants "entity beans" in EJB3.0 will really be embraced by the JEE5 community.

One problem is simply the delay in getting JEE5 Application Servers out there. So many people are using ORM tools like Hibernate already, that waiting for JEE5 application servers to come out and provide them what they need just isn't practical. And we all know that once a technology takes root, it's tough to get rid of it.

I mean, not too many people are switching away from Windows on the desktop, regardless of how many people might argue that there are better alternatives. Coming late to the dinner table is often the difference between being adopted or not, regardless of the strength or weakness of the technology itself.

-Cameron McKenzie
 
Roland Barcia
author
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would not say EJB is a failure. I would say Entity Beans may have been a failure. We cover JPA, which I think will have success because it takes into account patterns used by TopLink, Hibernate, JDO, and others.

The book is on the persistence layer, so we do not focus alot on EJB 3. We discuss how using JPA in a managed environment like EJB 3 can make things easier in some scenarios, by allowing automatic propagation of the Persistence Context. I know other frameworks like Spring can give you similar advantages. But in general, I feel EJB 3 is a good thing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic