I have read around the forums for some time now, but can't find a good answer to this question.
If I have a webapp deployed as two war files in a tomcat (or similar) servlet container. These two war files access the same (mysql innodb) database, and usage of tables overlap. Is it possible for one web application to be aware of transactions started in the other web application, and vice-versa?
I have read that the hibernate mappings must be bundled with each webapp that is deployed. Will this stop me from making the webapps aware of each others transactions? (As each webapp uses its own cache and JTA?)
We are considering to use Hibernate in a heavy load environment, and would like to split our application into different webapps on the same tomcat instance - for ease-of-maintainability and upgrades.
Anyone have som ideas or thoughts about this?
Regards,
Olve
|