Can I use Hibernate with EJB3?

I can not find a single example, so I begin to doubt whether this is possible or not ... But I was asked to create a webapp with both of them ...

+4
source share
2 answers
+6
source

In short - yes, it is possible.

You can configure hibernate as an entity manager for EJB 3.0.

Configuration is performed in the persistence.xml file. Here is the documentation link

+6
source

Source: https://habr.com/ru/post/1481549/


All Articles