|
Hello,
I'm curently working on a distributed plugin framework and I'm having trouble getting the datastorage to work right. Ideally I would like to use Hibernate for this, but I'm not sure if it would be the right tool for the job.
Example: There are 2 plugins, both on a different server. Plugin 1 calls plugin 2, Plugin 2 needs to store some data then reutrns to plugin one after which plugin one needs to store some data.
These two storage actions would need to be done in the same database transaction. But since the two plugins are on different servers, they would have two different database connections.
I wouldn't mind having the hbm files on both servers if that's needed to make this work with hibernate, but I'm not sure this is even possible with hibernate in the first place.
Mark
_________________ PFfJ, the distributed Plugin Framework for Java.
|