Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 61484 invoked from network); 29 Mar 2011 12:21:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Mar 2011 12:21:34 -0000 Received: (qmail 95542 invoked by uid 500); 29 Mar 2011 12:21:34 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 95512 invoked by uid 500); 29 Mar 2011 12:21:34 -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 95504 invoked by uid 99); 29 Mar 2011 12:21:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 12:21:34 +0000 X-ASF-Spam-Status: No, hits=2.1 required=5.0 tests=FUZZY_AMBIEN,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of cschneider@talend.com does not designate 83.246.65.53 as permitted sender) Received: from [83.246.65.53] (HELO relay03-haj2.antispameurope.com) (83.246.65.53) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Mar 2011 12:21:28 +0000 Received: from mail.sfp-net.com (smtp.sfp-net.com [83.220.139.234]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by relay03-haj2.antispameurope.com (ASE-Secure-MTA) with ESMTP id B0C8463C1A4 for ; Tue, 29 Mar 2011 14:21:05 +0200 (CEST) Received: from EXMBX01.SFP-Net.skyfillers.local ([172.16.12.11]) by EXHUB01.SFP-Net.skyfillers.local ([172.16.12.113]) with mapi; Tue, 29 Mar 2011 14:21:05 +0200 From: Christian Schneider To: "users@camel.apache.org" Date: Tue, 29 Mar 2011 14:20:59 +0200 Subject: AW: Service architecture Thread-Topic: Service architecture Thread-Index: AcvtRri58YNgfLPaQZymT9O6NJZuOQAwtzbg Message-ID: References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE, en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Gonzalo, I am a big fan of camel so don=B4t understand me wrong.=20 If you are using JEE all over the place then you should at least think abou= t migrating to JEE6 I am regularly reading the blog prosts of Adam Bien and= from what he writes the modern JEE implementation could be a great platfor= m. I never really did JEE as it really sucked below EJB 3 but I think it ha= s become quite good. Using JEE would allow you to use the knowledge your de= velopers have with it. Having said that camel will also be a great platform to build your applicat= ions on. Especially when you do the step to OSGi nd Karaf like Achim sugges= ted. OSGi has a steep learning curve though so be prepared for some problem= s at the start. For async Services I really like camel=B4s pojo messaging with jms. Where = you use a plain java interface for the handler. The serialization can be Ja= va serialization or JAXB. This is very simple to setup. For synchronous calls you have to decide between SOAP and REST or even Spri= ng HttpInvoker.=20 If you want to create client code then SOAP will be better. If you go java = first then REST or HTTPInvoker are simpler. For multi language SOAP again m= ay be easier but REST will also be possible with e.b. JAXB seralzation. So what I propose is that you invite specialists for the apache stack (Cam= el, CXF, Karaf) and specialists for JEE and let them create a POC scenario.= Then you can decide which looks better. >From my point of view I think JEE will be simpler to get running but less i= nnovative and less open. The apache stack above will be more complex to set= up but provide more flexibility. So it will be a tradeoff like always in ar= chitecture. Christian http://www.liquid-reality.de -----Urspr=FCngliche Nachricht----- Von: gonzalo diethelm [mailto:gdiethelm@dcv.cl]=20 Gesendet: Montag, 28. M=E4rz 2011 14:51 An: users@camel.apache.org Betreff: Service architecture This is my first post to this list, and I declare myself a Camel newbie. L= et me start by first saying that Camel is great; a big thanks to the whole = team for such a wonderful piece of engineering. I have been searching for some time now for a new way (to me) to build a se= rvice architecture, to be used _within_ the company; that is, this is not i= ntended for web facing services, at least not directly, but more for the "p= ure" business logic layer. My goals for this service architecture are: 1. Light-weight. 2. Easy to use for callers of services. 3. Support for synchronous (RPC) and asynchronous (MOM) invocation styles. 4. Ability to invoke services from different languages (desired). Thanks in advance for any wisdom shared, and best regards. --=20 Gonzalo Diethelm=20