Return-Path: Delivered-To: apmail-tuscany-dev-archive@www.apache.org Received: (qmail 7129 invoked from network); 1 Oct 2009 18:50:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Oct 2009 18:50:19 -0000 Received: (qmail 19829 invoked by uid 500); 1 Oct 2009 18:50:18 -0000 Delivered-To: apmail-tuscany-dev-archive@tuscany.apache.org Received: (qmail 19775 invoked by uid 500); 1 Oct 2009 18:50:18 -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 19767 invoked by uid 99); 1 Oct 2009 18:50:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 18:50:18 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of enjoyjava@gmail.com designates 209.85.221.172 as permitted sender) Received: from [209.85.221.172] (HELO mail-qy0-f172.google.com) (209.85.221.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Oct 2009 18:50:08 +0000 Received: by qyk2 with SMTP id 2so337480qyk.21 for ; Thu, 01 Oct 2009 11:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:references :in-reply-to:subject:date:mime-version:content-type :content-transfer-encoding:x-priority:x-msmail-priority:importance :x-mailer:x-mimeole; bh=WOR+++hLYBo42+35+kCXFgUO4Y69pC4/lwtx9fimfhw=; b=CJqsvNWTIZzkUNmnH9rkP1Ch/i2OuyGeJprYPG2smPiJapHtgcMTYhmCYSTIDrf000 WOxH5rj5HJcFNcxI73GC/1UQSl1x7jRClqJZpMAcXrqVBHM+u+yijWxQBMG55eD+zKlB hjwm1EnI9J6FEQ78K7cIenXCtKLUhMRBifIJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:references:in-reply-to:subject:date:mime-version :content-type:content-transfer-encoding:x-priority:x-msmail-priority :importance:x-mailer:x-mimeole; b=mgjYd2J5aKOZ2O8HttZqyPo4JqjVJjgY8IfPGKUH0bVwFqwzu+ZBTFO0xoYPsZJPxP VQT3CmDVc8x3qamITHI3U3SYQMjUzrE0NPXiNy1ukzus/Fp4WzmEpsXRONrahOt2tvGT Y9FlbTcJRrr1d8z3XXYmUOdwdnJM9ECdskjzU= Received: by 10.229.44.2 with SMTP id y2mr2012836qce.76.1254422987046; Thu, 01 Oct 2009 11:49:47 -0700 (PDT) Received: from rfengt61p ([76.200.181.4]) by mx.google.com with ESMTPS id 7sm149276qwb.31.2009.10.01.11.49.45 (version=SSLv3 cipher=RC4-MD5); Thu, 01 Oct 2009 11:49:46 -0700 (PDT) Message-ID: <8750396369EA48AB8D154AAFFC0AE2C3@rfengt61p> From: "Raymond Feng" To: , References: <71e1b5740910010118k17d46c52g3733defd26901003@mail.gmail.com> In-Reply-To: <71e1b5740910010118k17d46c52g3733defd26901003@mail.gmail.com> Subject: Re: Module to use scdl without all runtime Date: Thu, 1 Oct 2009 11:49:37 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 X-Virus-Checked: Checked by ClamAV on apache.org I see the value to have a module/utility to process the contributions without starting a runtime. The node runtime can call this utility to load/build the contributions. Later on, the domain manager can leverage that too. I anticipate the following layers: 1) Tuscany Kernel that sets up the extension point registry 2) Tuscany Deployer that processes the contributions (We used to have a workspace module that provides such capability) 3) Tuscany Domain Manager that calls Tuscany deployer 4) Tuscany Node that calls Tuscany deployer But I don't think this is the right approach by adding hard dependencies to all the modules that contribute models and processors. Such modules should be brought into the picture through the extension point/extension discovery. The modules on the same layer are still subject to selections. A new offering can be composed by picking needed modules from the layers and below (like a subtree). IMO, bundling a set of modules should be addressed at a higher level with the profile/feature idea. That lead to different packages of distributions to download. I don't think there is a need to physically group modules (like this scdl module) in the runtime. Thanks, Raymond -------------------------------------------------- From: "ant elder" Sent: Thursday, October 01, 2009 1:18 AM To: Subject: Module to use scdl without all runtime > I've added an scdl module and itest so you can process composites and > contributions without starting a runtime, and cleaned up all the > varrious dependencies so it works now. We keep saying the module > structure is as it is to enable doing that so having this makes sure > it will keep working. The scdl module has a large amount of code > copied from NodeFactory which would be good to make shared, i'll have > a look at doing that, perhaps starting by using the sca-domain module > and then looking at how to merge that with the node modules. > > ...ant