Return-Path: Delivered-To: apmail-tuscany-user-archive@www.apache.org Received: (qmail 75316 invoked from network); 12 Apr 2011 07:21:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Apr 2011 07:21:58 -0000 Received: (qmail 64095 invoked by uid 500); 12 Apr 2011 07:21:58 -0000 Delivered-To: apmail-tuscany-user-archive@tuscany.apache.org Received: (qmail 64058 invoked by uid 500); 12 Apr 2011 07:21:57 -0000 Mailing-List: contact user-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@tuscany.apache.org Delivered-To: mailing list user@tuscany.apache.org Received: (qmail 64049 invoked by uid 99); 12 Apr 2011 07:21:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 07:21:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ant.elder@gmail.com designates 209.85.160.181 as permitted sender) Received: from [209.85.160.181] (HELO mail-gy0-f181.google.com) (209.85.160.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 07:21:46 +0000 Received: by gyh4 with SMTP id 4so3298634gyh.26 for ; Tue, 12 Apr 2011 00:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=flXP6dDnrMyh9ELF22s3AHDGWoRdjVehfZd2lMbA4yo=; b=vIBDBcBNNvGRsExwHUwJDayc4FYSIm3U5D9s136ngsJYSptADU7gUa8eq9h0ANfwVX aDLRfv2eiyBMcAtuKvBdJmjc0tM+2MlAo0eXzb/vXhdT/0viuTFxPVdrc2MGmsK6aDl2 T6MeAB+Umaz6E3w7CBh5ZmkM1y5aQUQTHeZZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=PnU45zTo6P8+81AIiw8SKpyq4dn+QHMn1itmtJW/tUnMLDgHbFK7RtB3csg9iYLzA6 EGf+9D+I3OVR1aKSQOsyoD228NRRRU0o9M+236byOXbI3t+dODE9UdmxvumTYsIF94po Znz6Pn6qLwpG2gpyWfu+UICH/xcD6DvSyI2BI= MIME-Version: 1.0 Received: by 10.236.115.130 with SMTP id e2mr1171765yhh.141.1302592885697; Tue, 12 Apr 2011 00:21:25 -0700 (PDT) Received: by 10.147.181.15 with HTTP; Tue, 12 Apr 2011 00:21:25 -0700 (PDT) Reply-To: antelder@apache.org In-Reply-To: References: Date: Tue, 12 Apr 2011 08:21:25 +0100 Message-ID: Subject: Re: regards my earlier questions on webapp with multiple composites / components From: ant elder To: Monosij Dutta-Roy Cc: user@tuscany.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Apr 11, 2011 at 7:10 AM, Monosij Dutta-Roy wrote: > Clarification seeking on which is the way to go - with my interpretation = as: > ANT's statement says that with 2.0-Beta2 I should be able to do multiple > components / composites for a webapp as long as I put them in the > WEB-INF/sca-contributions folder. So it should work just by putting it th= ere > and I intend to try it out as per the example. > However, I am interpreting SIMON's statement as a best practice - and wil= l > be necessary to run the QueryController in a scalable manner such as > multiple nodes. So in this approach the QueryController has nothing to do > with the webapp but will be invoked by the webapp as needed through the > binding.ws - and this leaves me free to change webapp framework / UI with= out > worrying about backend logic. > However just for now to get things running and make sure configs and such > are set correctly I can get by using the approach Ant suggests. However t= his > approach won't be scalable in a way SCA is meant to scale - but will be g= ood > for the prototyping phase -=A0including=A0set up db=A0interconnectivity= =A0through > DAS and such - and then when ready figure out the deployment / scaling > aspect in running across multiple nodes put in the ws.bindings and > deployment scenarios. One of the goals of Tuscany/SCA is to make the distribution of components simpler, so you need to worry less about things like using ws.bindings in your composites because the Tuscany runtime infrastructure handles the remote communications for you. As an example, the helloworld-webapp sample does include the contribution from the helloworld sample but if you remove that contribution from the webapp and run the helloworld sample separately and start both with the distributed domain support enabled then the webapp will continue to work and will use the remote helloworld service. ...ant