What is better spring framework or ejb?
A:
Read Expert One-on-One J2EE Development without EJB by Rod Johnson. No need to say that Rod Johnson is the one behind Spring framework and the genesis of the framework begins in this book.
Teja Kantamneni
2010-03-13 14:35:21
A:
It's important to note that Spring was a reaction to EJB 2.0. It addressed a lot of problems that Rod Johnson encountered with EJB 2.0 and J2EE on his consulting gigs.
EJB 3.0 has been influenced a great deal by Spring and Hibernate. I think that some of the boilerplate verbiage that makes the case for Spring may not apply as well to the new standard.
I am not an EJB user myself; I do use Spring and love it. But what I read suggests that the gap between EJB 3.0 and Spring isn't as wide as the one that existed with EJB 2.0.
duffymo
2010-03-13 14:45:49