Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 92526 invoked from network); 24 Dec 2008 14:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Dec 2008 14:45:08 -0000 Received: (qmail 66036 invoked by uid 500); 24 Dec 2008 14:45:07 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 66022 invoked by uid 500); 24 Dec 2008 14:45:07 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 66010 invoked by uid 99); 24 Dec 2008 14:45:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2008 06:45:06 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.48.9.164] (HELO edge-b-2.vtin.it) (212.48.9.164) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Dec 2008 14:44:58 +0000 Received: from caht-b-2.vtin.it (212.48.15.43) by edge-b-2.vtin.it (212.48.9.164) with Microsoft SMTP Server (TLS) id 8.1.278.0; Wed, 24 Dec 2008 15:44:35 +0100 Received: from EVS2007.vtin.it ([212.48.15.40]) by caht-b-2.vtin.it ([212.48.15.43]) with mapi; Wed, 24 Dec 2008 15:44:35 +0100 From: Pirola Davide To: "user@cayenne.apache.org" Date: Wed, 24 Dec 2008 15:44:33 +0100 Subject: RE: Cayenne with JGroups replication Thread-Topic: Cayenne with JGroups replication Thread-Index: AcllL3ANuyNrvtyVQiurq3LbOgX5HwAopaXA Message-ID: References: <01B7A43F-1F49-4EDF-99A2-45D611C38766@pvv.ntnu.no> In-Reply-To: <01B7A43F-1F49-4EDF-99A2-45D611C38766@pvv.ntnu.no> Accept-Language: it-IT Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: it-IT Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Tore, thanks for your answer. Ha-jdbc seems to be a great product. It can be used in conjunction with Cayenne? I prefer to demand to Cayenne all the stuffs involved in the connection to = the database (es connection pooling), and use its API to read and write. Do you think that it is possible? Thanks Davide -----Original Message----- From: Tore Halset [mailto:halset@pvv.ntnu.no] Sent: marted=EC 23 dicembre 2008 19.50 To: user@cayenne.apache.org Subject: Re: Cayenne with JGroups replication Hello. Cayenne uses jgroups to synchronize the caches. Use ha-jdbc or sequoia to sync the databases. - Tore. On Dec 23, 2008, at 16:39, Pirola Davide wrote: > Hi, > i'm developing a web application that need to store some data. > For some reasons i can't have a database installed on a cluster, so > I inted to use Apache Derby (Java DB embedded in the JDK 6.0). > The main issue is due to the fact that i have 2 front end server so > I need to synchronize the data stored in the 2 instance of the Derby > database. > My idea is to use JGroups to permit to the servers to communicate in > multicast way and manually realize the synchronization. > Whit a great surprise I found this article in the Cayenne manual: > > http://cayenne.apache.org/doc12/configuring-caching-behavior.html > > so cayenne already perform this kind of job? > Where I can find some documentation or example about it? > This solution can be used in production with a high traffic web site? > > Thanks > Davide > > ________________________________ > Le informazioni contenute nella presente e-mail potrebbero essere > confidenziali e sono dirette unicamente ai destinatari sopra > indicati. In caso di ricezione da parte di persona diversa ? vietato > qualunque tipo di distribuzione o copia. Chi riceva questo messaggio > per errore ? pregato di inoltrarlo al mittente e di distruggere > questa e-mail. > > This e-mail may contain confidential information and is intended > only for the use of the addressee(s) named above. If the reader of > this message is not the intended recipient of this message, please > note that distribution or copying of this communication is > forbidden. Anyone who receives this communication in error should > return it immediately to the sender and destroy the message. Le informazioni contenute nella presente e-mail potrebbero essere confidenz= iali e sono dirette unicamente ai destinatari sopra indicati. In caso di ri= cezione da parte di persona diversa =E8 vietato qualunque tipo di distribuz= ione o copia. Chi riceva questo messaggio per errore =E8 pregato di inoltra= rlo al mittente e di distruggere questa e-mail. This e-mail may contain confidential information and is intended only for t= he use of the addressee(s) named above. If the reader of this message is no= t the intended recipient of this message, please note that distribution or = copying of this communication is forbidden. Anyone who receives this commun= ication in error should return it immediately to the sender and destroy the= message.