-->
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.  [ 2 posts ] 
Author Message
 Post subject: detecting updates across a cluster?
PostPosted: Sun Dec 28, 2003 11:23 am 
Newbie

Joined: Sun Dec 28, 2003 11:10 am
Posts: 8
I have been considering switching completely away from J2EE towards Hibernate, partly because many of the client/server systems I write don't require (or even have the resources for) a full application server and partly because I prefer the flexibility of choosing my own system architecture.

I would need a cluster-capable persistence engine, which I see that Hibernate now offers, which is great. But I would also need to notify remote clients of updates to the data - a kind of change-propagation mechanism.

I see that there is some kind of callback/interceptor facility there, but does that work across a cluster? If I have two servers (A and B), which are clustered, and each has a remote client attached (A<-A2 and B<-B2), if A2 creates/edits/deletes some data, I want B to be actively notified somehow, so that it can tell B2 to refresh.

My intention is to eschew web interfaces in favour of full applications which are capable of live updates in response to changing data. It is the cluster-update-notification part that is currently eluding me in the docs.

Is this possible with Hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 29, 2003 6:57 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is probably doable with an interceptor, but painful and not scalable.
Have a look at section 12.2. of the reference guide.

_________________
Emmanuel


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

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.