Clustered Singleton Service in WLS?
Hello,
I'm working on a clustered system that needs a distributed
singleton. Specifically I need a timer/listener pair that
will do work in the system, but I it would be bad to have
more than one listener fired off within the cluster.
How can I design this feature such that:
1) There is only one active timer/listener in the clustered
app active at any one time
2) If this active instance dies, another somewhere in the
cluster will be spooled up to take its place?
I'm considering some kind of JXTA-based solution but before
I invest a lot of energy in that direction I want to be
sure I'm not trying to kill a fly with a bazooka.
Thanks
Greg
Re: Clustered Singleton Service in WLS?
> I'm working on a clustered system that needs a distributed[color=blue]
> singleton. Specifically I need a timer/listener pair that
> will do work in the system, but I it would be bad to have
> more than one listener fired off within the cluster.
> 1) There is only one active timer/listener in the clustered
> app active at any one time
> 2) If this active instance dies, another somewhere in the
> cluster will be spooled up to take its place?[/color]
See the clustered singleton example using Coherence:
[url]http://www.tangosol.net/forums/thread.jspa?forumID=6&threadID=82&tstart=0[/url]
Peace,
Cameron Purdy
Tangosol, Inc.
[url]http://www.tangosol.com/coherence.jsp[/url]
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"Greg" <x8iuditbccupm001@sneakemail.com> wrote in message
news:784afb5d.0307050936.3415f78@posting.google.com...[color=blue]
>[/color]