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.
subject: EJB3 with Hibernate for making webservices