Yes, you could implement all the services provided by EJB3 yourself with servlet+jsp and POJOS, but depending on which features you need, this could mean a lot of additional work...
Neither. Hibernate is a JPA implementation, and has its own non-standard ORM API. As far as an EJB replacement goes, it could be used to replace Entity beans only.
Ulf Dittmer wrote:No, I meant Hibernate's own API.
Hibernate is just an ORM framework and a reference implementation of the JPA standard. I can imagine Spring + Hibernate as a replacement for EJB and not just Hibernate.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
yes, Spring offers the "lighter" of EJB version..
Spring also provides API to wraps up Hibernate through HibernateTemplate..
it could ran in Tomcat Servlet container..
but, i think EJB3.1 is good news also for EJB developer..
it could ran in lighter EJB Container, such as Glassfish V3..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
We can walk to school together. And we can both read this tiny ad:
a bit of art, as a gift, the permaculture playing cards