Return-Path: Delivered-To: apmail-ws-tuscany-commits-archive@locus.apache.org Received: (qmail 48907 invoked from network); 5 Feb 2008 21:08:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 21:08:28 -0000 Received: (qmail 15891 invoked by uid 500); 5 Feb 2008 21:08:20 -0000 Delivered-To: apmail-ws-tuscany-commits-archive@ws.apache.org Received: (qmail 15871 invoked by uid 500); 5 Feb 2008 21:08:20 -0000 Mailing-List: contact tuscany-commits-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-commits@ws.apache.org Received: (qmail 15862 invoked by uid 99); 5 Feb 2008 21:08:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 13:08:20 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 21:07:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 66C68714071 for ; Tue, 5 Feb 2008 13:08:00 -0800 (PST) Message-ID: <12543155.1202245680410.JavaMail.www-data@brutus> Date: Tue, 5 Feb 2008 13:08:00 -0800 (PST) From: confluence@apache.org To: tuscany-commits@ws.apache.org Subject: [CONF] Apache Tuscany: SCA Java implementation.widget (page created) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org SCA Java implementation.widget (TUSCANY) created by Luciano Resende http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+implementation.widget Content: --------------------------------------------------------------------- h3.Introduction Implementation.widget extends the SCA programming model to web 2.0 client applications. As for creating a SCA component, below is an sample SCDL {code} USD 0.7256 {code} Declaring SCA references using JavaScript can be done with the syntax below. This references will get properly introspected by the implementation.widget and wired. {code} //@Reference var catalog = new Reference("Catalog"); //@Reference var shoppingCart = new Reference("ShoppingCart"); {code} The client application will need to include a generated js, that has the same name as the component being used. {code} {code} Right now there is support for JSONRPC and Atom, and you can see all of this in in action in sca/samples/store. h3.References [http://incubator.apache.org/tuscany/getting-started-with-tuscany.html] --------------------------------------------------------------------- CONFLUENCE INFORMATION This message is automatically generated by Confluence Unsubscribe or edit your notifications preferences http://cwiki.apache.org/confluence/users/viewnotifications.action If you think it was sent incorrectly contact one of the administrators http://cwiki.apache.org/confluence/administrators.action If you want more information on Confluence, or have a bug to report see http://www.atlassian.com/software/confluence --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-commits-help@ws.apache.org