Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 7175 invoked from network); 19 May 2009 11:59:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 11:59:32 -0000 Received: (qmail 11952 invoked by uid 500); 19 May 2009 11:59:32 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 11912 invoked by uid 500); 19 May 2009 11:59:31 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 11902 invoked by uid 99); 19 May 2009 11:59:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 11:59:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cmoulliard@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-fx0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 11:59:23 +0000 Received: by fxm25 with SMTP id 25so3854205fxm.20 for ; Tue, 19 May 2009 04:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=qG6Ybj4zyrMjOtbrmA1GbLg2wA0DI/1yirDHLHAhuTU=; b=FPGXQMyv867KUstv5lGrfknq/Mu8dBsLBpRHmqhuU1UWtHNOZD3wQ5rZ7AvB7HTy9c uWUHCTc9nRYsZi0pnyMpo7s4OujikaUx1aQKuDirMH/SnZXmPHQDzISgnERsJ8MjEtxc A0DDjGaTxvn5a7/SUyBW0jwrguHHZITh7/k5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=V8Zpu35B4pR4zepZkhLMuL0mMhvHmaPTyyftSoTfTQtjCQzSGsQnqmg59rDgbF2fzI MgixRtWSrmc38FEeN1k9lziUL7llSS2H3WBvnNtSk/Y2F2QiT9gmRMuFA8uerHmIGwyG ysQvroQHyoXJ6lXuvHc1E1nHdd8S1VohQbSkM= MIME-Version: 1.0 Received: by 10.103.11.7 with SMTP id o7mr4713971mui.95.1242734342447; Tue, 19 May 2009 04:59:02 -0700 (PDT) Date: Tue, 19 May 2009 13:59:02 +0200 Message-ID: Subject: [Feedback from users] JDO - OODBMS and Camel From: Charles Moulliard To: users@camel.apache.org Content-Type: multipart/alternative; boundary=0016364163dd0826a5046a42a3c7 X-Virus-Checked: Checked by ClamAV on apache.org --0016364163dd0826a5046a42a3c7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I would like to know if some camel users have already used their favorite framework with JDO and OODBMS. I contemplate this question because in my application which is a Straight Through Processing (STP) one, I transform external data (received from CSV, ... files) into Java Objects which are later transformed into external format (FIX, Swift, ...). To avoid to have too much transformation in the STP process (IN to Internal format, internal format to text, text to internal format, internal format to external format, ...), I think to use the POJOs as internal format of my application and applying Java to Java transformation to generate my internal/external format. Obviously, I must save/store the objects somewhere to persist data in case of application crash. Different approaches exist : 1) Export the content of the object into String, XML, ... and save it in a text/blob field of a RDBMS 2) Save the object in a BLOB field of a RDBMS 3) Save the objects in a OODBMS 4) idem but using JDO specification top of OODBMS, RDBMS The 1) is very simple to do but required additional transformations from object to string and string to objects The 2) seems better because the object is saved in a BLOB. What about performance ? Is it the bast way to store objects ? Scenario 3) 4) are interesting but they required a secondary Database (near my MySQL DB), will complicated the transaction because I have to handle three components in case of rollback (JMS, RDBMS and OODBMS The 4) is perhaps mush more interesting because objects are stored in a RDBMS and JDO is supported by Spring. I can also done queries top of my DB. Can I use JDO to also perform my SQL queries ? Probably yes but is it interesting ? Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com --0016364163dd0826a5046a42a3c7--