July 2016
Intermediate to advanced
490 pages
10h 54m
English
All of the data sources are declared as JNDI resources at the Tomcat level. They are declared as Bitronix data sources managed by BitronixTransactionManager. At the Spring context level, all data access is wrapped by JPA using the Hibernate 4.x Framework. BitronixTransactionManager is auto fetched and injected by Spring as its JTA manager to manage all JPA services for any of the data sources. The following figure shows the JTA and JPA setup with multiple data sources:

The persistence.xml file contains five persistence units wherein each is configured to fetch its XA-based data source through the ...
Read now
Unlock full access