Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 51415 invoked from network); 12 Nov 2006 16:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2006 16:08:38 -0000 Received: (qmail 51934 invoked by uid 500); 12 Nov 2006 16:08:48 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 51919 invoked by uid 500); 12 Nov 2006 16:08:48 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 51910 invoked by uid 99); 12 Nov 2006 16:08:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Nov 2006 08:08:48 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [64.124.179.102] (HELO polatsk.objectstyle.org) (64.124.179.102) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 12 Nov 2006 08:08:35 -0800 Received: (qmail 7857 invoked from network); 12 Nov 2006 16:08:14 -0000 Received: from unknown (HELO ?JB?????IPv6:::1?) (127.0.0.1) by localhost with SMTP; 12 Nov 2006 16:08:14 -0000 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <20061111141505.11277362@mail.x-change.se> References: <20061111141505.11277362@mail.x-change.se> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <11571CC9-0645-472F-A34B-F495EB0F9D1C@objectstyle.org> Content-Transfer-Encoding: 7bit From: Andrus Adamchik Subject: Re: Docs and some questions Date: Sun, 12 Nov 2006 11:08:15 -0500 To: cayenne-user@incubator.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org 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 > >