In JavaEE a datasource generally means a pool. So if you have two persistence units using the same physical datasource it can be very interesting to be able to use the same pool (easier to configure the pool size for instance).
Sharing a single datasource between multiple persistence units with TomEE and OpenEJB
1 Reply