2.4. Integration with Java EE services
We assume that you've already tried the "Hello World" example shown earlier in this chapter and that you're familiar with basic Hibernate configuration and how Hibernate can be integrated with a plain Java application. We'll now discuss more advanced native Hibernate configuration options and how a regular Hibernate application can utilize the Java EE services provided by a Java EE application server.
If you created your first JPA project with Hibernate Annotations and Hibernate EntityManager, the following configuration advice isn't really relevant for you—you're already deep inside Java EE land if you're using JPA, and no extra integration steps are required. Hence, you can skip this section if you use ...
Get Java Persistence with Hibernate now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.