These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate sessions spanning multiple servers
PostPosted: Mon Jan 11, 2010 9:08 am 
Newbie

Joined: Mon Mar 05, 2007 2:25 am
Posts: 12
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.