Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3 with Hibernate for making webservices

 
Abhiranjan Singh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have gotten into this new project where they want to use Hibernate4 as the choice of JPA implementation, and still use EJB3. I am not sure why.
I would rather create webservices, and create another DAO layer using Hib4 which is anyway a JPA2 implementation and make the webservices use this layer.

We are not making any JNDI based calls to EJB so I am trying to find out if using both technologies is actually worth it, or just adding extra weight to the application.

Any responses appreciated.

Thanks!

Abhi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic