As Ari just mentioned, JGroups site is located here:

http://www.jgroups.org

Cayenne has built in support for using JGroups as a provider for cache synchronization. You can configure it in the Modeler:

* Check "Remote Change Notifications" for the DataDomain
* Click the "Configure" button next to it and enter the settings that you need (or leave the defaults).

And of course you can use JavaGroupsBridge for your own custom messaging if you need functionality beyond just cache synchronization.

Andrus


On Nov 11, 2006, at 9:15 AM, Andreas Hjortsberg wrote:
Hello,

In  the api docs for

JGROUPS_CONFIG_URL_PROPERTY

http://incubator.apache.org/cayenne/2_0/api/cayenne/index.html

there is an invalid link for an example file. I think it's Filip's son who shows up, very cute though.

http://www.filip.net/javagroups/javagroups-protocol.xml

Is there anyone who knows where I can find another example?

I'm about to start a project where all clients will have a local swing application and database, probably derby or hsqldb. It is very important what then a client change some of his objects it is broad casted over the local subnet and the other clients will be updated and it also notifies a main server.

Has anyone used cayenne and jgroups for this? Is it the path to take? I have looked around but have not found any example or comments on this. Or is the existing integration between jgroups and cayenne designed to mainly work between instances on a web application?

Regards
/Andreas



Reply via email to