Return-Path: Delivered-To: apmail-tuscany-dev-archive@www.apache.org Received: (qmail 56806 invoked from network); 8 Jul 2010 15:34:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 15:34:09 -0000 Received: (qmail 4129 invoked by uid 500); 8 Jul 2010 15:34:09 -0000 Delivered-To: apmail-tuscany-dev-archive@tuscany.apache.org Received: (qmail 3967 invoked by uid 500); 8 Jul 2010 15:34:08 -0000 Mailing-List: contact dev-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list dev@tuscany.apache.org Received: (qmail 3960 invoked by uid 99); 8 Jul 2010 15:34:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 15:34:08 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of enjoyjava@gmail.com designates 209.85.160.53 as permitted sender) Received: from [209.85.160.53] (HELO mail-pw0-f53.google.com) (209.85.160.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 15:34:00 +0000 Received: by pwj4 with SMTP id 4so531207pwj.26 for ; Thu, 08 Jul 2010 08:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:references:from :content-type:x-mailer:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=TFDAGCWLiVJGLlVqtqn6m8S0k+23zqqnoPHANclylEk=; b=eMUfPTWd/0WNirusWnlT8o2YWWTwDsPhmiNxG3mFDF0go4wOOBNPW7o5iVE5+Go24X wRsEOFgX6X+eNb+yIemcAyZH/tzXiYvEUGdnUvjaTfOTWzR3C0KoCvzgUcqBxeDbdXEO WZR+t0MXrPJYuzrzcLSHOrrbKzLPFTlhM75lI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; b=ArO6PloYVRe1b0iZORMHml/bX9d0aWY7T3A5MkabMfLM6uoy9ZHOHUFng8viyooWen wSqLnpIldvsx3ow1ZrF9PCxNH+YW9bPIJTEJhFAw3EsDTMOI8yBRYEv2c0bgYlhll+jr wNLm8yPQGQ1vV6mRsy4RPd2tWL6QlD2PMDE5w= Received: by 10.142.142.1 with SMTP id p1mr9912406wfd.10.1278603158964; Thu, 08 Jul 2010 08:32:38 -0700 (PDT) Received: from [192.168.1.100] (adsl-75-36-181-41.dsl.pltn13.sbcglobal.net [75.36.181.41]) by mx.google.com with ESMTPS id x18sm8675446wfd.20.2010.07.08.08.32.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 08:32:37 -0700 (PDT) Subject: Re: Node2 vs Node, parallel universes? Sample tuscany launcher shell References: <4C2E64DF.1030306@apache.org> <4C30ECB5.7020100@apache.org> <4C356CE2.9070303@apache.org> From: Raymond Feng Content-Type: text/plain; charset=us-ascii X-Mailer: iPhone Mail (8A293) In-Reply-To: Message-Id: <10E37E9F-0841-4B27-B7CD-40B977993431@gmail.com> Date: Thu, 8 Jul 2010 08:31:56 -0700 To: "dev@tuscany.apache.org" Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (iPhone Mail 8A293) X-Virus-Checked: Checked by ClamAV on apache.org Hi, We had a debate on this topic. See: http://osdir.com/ml/dev-tuscany.apache.org/2010-06/msg00164.html And apparently, we didn't reach agreement.=20 I think it would be a good idea to agree on the commands for shell. This wil= l help us understand how users use SCA. Then it can be translated into a set= of API/SPIs. Mixing different steps into one layer could prevent us from se= eing the complete user story. Raymond Feng Sent from my iPhone On Jul 7, 2010, at 11:53 PM, ant elder wrote: > On Thu, Jul 8, 2010 at 7:14 AM, Jean-Sebastien Delfino > wrote: >=20 >>=20 >> I'm confused as you've switched o.a.t.node.NodeFactory to a different >> o.a.t.node2.NodeFactory. I see 49 references to node.NodeFactory in the >> source tree, everywhere people need to create nodes. node2.NodeFactory lo= oks >> like a parallel implementation, with only 3 references, if I'm not mistak= en >> only from this new shell. What happened? >>=20 >=20 > The domain-node module is new is why its not used much yet and its > based more closely on the operations described in the Assembly spec. I > like it, and plan to start using it instead of the old Node APIs now. > It also supports more than the old Node API so you can do things that > you otherwise can't. >=20 >> Also this new shell seems to use a single node. It's fine with me if that= 's >> what you want to do here, but that's not what I need. What I need is a >> collection of independent nodes, each loaded with a deployable composite,= >> each with its own lifecycle, like I had in the original code. >>=20 >=20 > What is that you need a node for? This does give you independent > deployable composites each with its own lifecycle so whats missing? > I'm wondering if its just that the current commands and help > information on them isn't very clear yet so its not so obvious to you > what this is doing. >=20 > ...ant