Problem with clustering support in DWR

View: New views
5 Messages — Rating Filter:   Alert me  

Problem with clustering support in DWR

by Andrew-201 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, dear DWR developers!

Our Java web application using DWR without any problems.
But now we are decided to setup clustered environment (based on JBoss
AS) and encountered the problem with DWR, because it works properly only
on single node, and doesn't replicate any necessary data across the
whole cluster, so now we are seeking the solution how to enforce DWR to work
in the cluster.
Can you advise us something? Does DWR already has clustering support,
or it will be implemented in further releases?
It's very important for us to find the solution, so please help us
with advice.

Thanks in advance!

With deep respect,
Andrew
J2EE-Developer,
Ukraine.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


Re: Problem with clustering support in DWR

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is an interface: ScriptSessionManager which allows script sessions to be replicated across nodes. It should be possible to implement this interface using a JBoss tree cache in place of a HashMap quite easily.
Some work has already been done with Terracotta, but I doubt that will be particularly useful.
Joe.

On Dec 24, 2007 10:17 PM, Andrew <gospel@...> wrote:
Hi, dear DWR developers!

Our Java web application using DWR without any problems.
But now we are decided to setup clustered environment (based on JBoss
AS) and encountered the problem with DWR, because it works properly only
on single node, and doesn't replicate any necessary data across the
whole cluster, so now we are seeking the solution how to enforce DWR to work
in the cluster.
Can you advise us something? Does DWR already has clustering support,
or it will be implemented in further releases?
It's very important for us to find the solution, so please help us
with advice.

Thanks in advance!

With deep respect,
Andrew
J2EE-Developer,
Ukraine.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...



Re: Problem with clustering support in DWR

by Orion Letizi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there any particular reason why you think Terracotta won't be useful?  On the face of it, it seems like the perfect solution, but I may be misunderstanding the issues involved.

In the Terracotta kit, there's a DWR-based demo that uses Spring beans to distribute state for DWR objects across the cluster.

Cheers,
--Orion

Joe Walker-3 wrote:
There is an interface: ScriptSessionManager which allows script sessions to
be replicated across nodes. It should be possible to implement this
interface using a JBoss tree cache in place of a HashMap quite easily.
Some work has already been done with Terracotta, but I doubt that will be
particularly useful.
Joe.

On Dec 24, 2007 10:17 PM, Andrew <gospel@navy.dp.ua> wrote:

> Hi, dear DWR developers!
>
> Our Java web application using DWR without any problems.
> But now we are decided to setup clustered environment (based on JBoss
> AS) and encountered the problem with DWR, because it works properly only
> on single node, and doesn't replicate any necessary data across the
> whole cluster, so now we are seeking the solution how to enforce DWR to
> work
> in the cluster.
> Can you advise us something? Does DWR already has clustering support,
> or it will be implemented in further releases?
> It's very important for us to find the solution, so please help us
> with advice.
>
> Thanks in advance!
>
> With deep respect,
> Andrew
> J2EE-Developer,
> Ukraine.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: dev-help@dwr.dev.java.net
>
>

Re: Problem with clustering support in DWR

by Joe Walker-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


The logic was - he's gone down the JBoss route, and might want to use JBoss replication, but on reflection, it's probably wrong to assume that it's faster to get into JBoss replication than Terracotta - point well made.

Joe.

On Dec 26, 2007 4:51 PM, Orion Letizi <orion@...> wrote:

Is there any particular reason why you think Terracotta won't be useful?  On
the face of it, it seems like the perfect solution, but I may be
misunderstanding the issues involved.

In the Terracotta kit, there's a DWR-based demo that uses Spring beans to
distribute state for DWR objects across the cluster.

Cheers,
--Orion


Joe Walker-3 wrote:

>
> There is an interface: ScriptSessionManager which allows script sessions
> to
> be replicated across nodes. It should be possible to implement this
> interface using a JBoss tree cache in place of a HashMap quite easily.
> Some work has already been done with Terracotta, but I doubt that will be
> particularly useful.
> Joe.
>
> On Dec 24, 2007 10:17 PM, Andrew <gospel@...> wrote:
>
>> Hi, dear DWR developers!
>>
>> Our Java web application using DWR without any problems.

>> But now we are decided to setup clustered environment (based on JBoss
>> AS) and encountered the problem with DWR, because it works properly only
>> on single node, and doesn't replicate any necessary data across the
>> whole cluster, so now we are seeking the solution how to enforce DWR to
>> work
>> in the cluster.
>> Can you advise us something? Does DWR already has clustering support,
>> or it will be implemented in further releases?
>> It's very important for us to find the solution, so please help us
>> with advice.
>>
>> Thanks in advance!
>>
>> With deep respect,
>> Andrew
>> J2EE-Developer,
>> Ukraine.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@...
>> For additional commands, e-mail: dev-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Problem-with-clustering-support-in-DWR-tp14491673p14504027.html
Sent from the DWR - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...



Re: Problem with clustering support in DWR

by Orion Letizi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah.  I see.  That makes sense.

BTW, If you want to stick with the JBoss interfaces, Terracotta has an integration module that plugs in behind JBoss cache.

Cheers,
--Orion

Joe Walker-3 wrote:
The logic was - he's gone down the JBoss route, and might want to use JBoss
replication, but on reflection, it's probably wrong to assume that it's
faster to get into JBoss replication than Terracotta - point well made.

Joe.

On Dec 26, 2007 4:51 PM, Orion Letizi <orion@terracotta.org> wrote:

>
> Is there any particular reason why you think Terracotta won't be useful?
>  On
> the face of it, it seems like the perfect solution, but I may be
> misunderstanding the issues involved.
>
> In the Terracotta kit, there's a DWR-based demo that uses Spring beans to
> distribute state for DWR objects across the cluster.
>
> Cheers,
> --Orion
>
>
> Joe Walker-3 wrote:
> >
> > There is an interface: ScriptSessionManager which allows script sessions
> > to
> > be replicated across nodes. It should be possible to implement this
> > interface using a JBoss tree cache in place of a HashMap quite easily.
> > Some work has already been done with Terracotta, but I doubt that will
> be
> > particularly useful.
> > Joe.
> >
> > On Dec 24, 2007 10:17 PM, Andrew <gospel@navy.dp.ua> wrote:
> >
> >> Hi, dear DWR developers!
> >>
> >> Our Java web application using DWR without any problems.
> >> But now we are decided to setup clustered environment (based on JBoss
> >> AS) and encountered the problem with DWR, because it works properly
> only
> >> on single node, and doesn't replicate any necessary data across the
> >> whole cluster, so now we are seeking the solution how to enforce DWR to
> >> work
> >> in the cluster.
> >> Can you advise us something? Does DWR already has clustering support,
> >> or it will be implemented in further releases?
> >> It's very important for us to find the solution, so please help us
> >> with advice.
> >>
> >> Thanks in advance!
> >>
> >> With deep respect,
> >> Andrew
> >> J2EE-Developer,
> >> Ukraine.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@dwr.dev.java.net
> >> For additional commands, e-mail: dev-help@dwr.dev.java.net
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Problem-with-clustering-support-in-DWR-tp14491673p14504027.html
> Sent from the DWR - Dev mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@dwr.dev.java.net
> For additional commands, e-mail: dev-help@dwr.dev.java.net
>
>