• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

EJB 3.0

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Before JEE 5, people said EJB is too complicated, a lot of times, we can achieve thing using Servlet/JSP (or any java web framework) + hibernate (for database stuff).

But with Hibernate 3.2 and EJB 3.0,is it true that the line between lightweight architecture (java web framework + hibernate) and EJB is blurred.

Is that true?

And with EJB 3.0, does that mean JDO has becomes obsolete?

Thank you.
 
Saloon Keeper
Posts: 26547
187
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Part of the EJB 3 spec is a sub-spec known as the Java Persistence Architecture or JPA. There's been talk of actually breaking JPA out of the EJB3 JSR, since it virtually erases the high-level differences between EJB, JDO and Hibernate.

No, JDO doesn't go extinct QUITE yet. BEA (formerly Solarmetric) Kodo V4 supports JPA. In fact, a group of BEA Kodo employees are at the core of the Jakarta OpenJPA project.

Similarly, Hibernate 3 is now actively supporting JPA. In fact, I used the OpenJPA reverse mapping tool to create Hibernate mappings and have been prototyping a webapp using Spring's new JPA support to handle the grunt work.

Once I've got the app fully functional, I'll probably switch it from Tomcat+Hibernate to JBoss+EJB3 just to say I could.
 
reply
    Bookmark Topic Watch Topic
  • New Topic