users@shoal.java.net

Shoal supported -> [ANN] New Plugin: Clustering any Atmosphere Shoal supported -> [ANN] New Plugin: Clustering any Atmosphere Application on Any Container]

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 03 Jul 2009 11:10:17 -0400

Salut,

FYI, the Atmosphere Project (http://atmosphere.dev.java.net) now offer
clustering support using Shoal. I've implemented the basic and I'm sure
the plugin will add more and more features.

Great Work!

-- Jeanfrancois

-------- Original Message --------
Subject: [ANN] New Plugin: Clustering any Atmosphere Application on Any
Container
Date: Thu, 02 Jul 2009 23:01:50 -0400
From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Reply-To: users_at_atmosphere.dev.java.net
To: users_at_atmosphere.dev.java.net

Hi,

I've just committed a new plugin called cluster-shoal, based on the
Shoal project:

   * http://shoal.dev.java.net

Mainly, this plugin allows any atmosphere applications to broadcast
messages inside a cluster. I've tested the chat sample using two server
on two different machines (Tomcat and Jetty). You can try it by
downloading the atmosphere-char.war, the edit the web.xml and set:

> <init-param>
> <param-name>org.atmosphere.useCluster</param-name>
> <param-value>shoal</param-value>
> </init-param>

Right now the chat uses the ShoalFilter (which is a BroadcastFilter)

   * http://is.gd/1m1bO (JavaDoc)
   * http://is.gd/1m1gn (code)

See how ChatAtmosphereHandler uses it (quite simple):

   * http://is.gd/1m1j2

This is another example of how easy is to extends Atmosphere. I've also
added a new @Cluster annotations

   * http://is.gd/1m1eg

for peoples using atmosphere-core. In the next few days I will add
sample and explain how the annotation can be used.

Feedback appreciated!

-- Jeanfrancois

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_atmosphere.dev.java.net
For additional commands, e-mail: users-help_at_atmosphere.dev.java.net