Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 53363 invoked from network); 28 Dec 2005 04:37:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Dec 2005 04:37:29 -0000 Received: (qmail 3089 invoked by uid 500); 28 Dec 2005 04:37:22 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 3072 invoked by uid 500); 28 Dec 2005 04:37:22 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 3061 invoked by uid 99); 28 Dec 2005 04:37:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2005 20:37:21 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of craigmcc@gmail.com designates 64.233.184.205 as permitted sender) Received: from [64.233.184.205] (HELO wproxy.gmail.com) (64.233.184.205) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Dec 2005 20:37:21 -0800 Received: by wproxy.gmail.com with SMTP id 71so1152812wra for ; Tue, 27 Dec 2005 20:37:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references; b=S6tec3NrnN1vO/f03OHpaGk4TxhVjwDMbj/vUtueEe+I6ufMLMzvTVKKPp6HCza7S6/rqKo+MQTwBy8Y0bwoL4Eo6g4JobgCaS8//fk27nfugZXXcOwIA5up7nJggofrmzf0ZinkGS4OFv0a4TFWgR4J5d48K83RpRdtjOG5JgE= Received: by 10.65.153.12 with SMTP id f12mr2869933qbo; Tue, 27 Dec 2005 20:37:00 -0800 (PST) Received: by 10.65.15.17 with HTTP; Tue, 27 Dec 2005 20:37:00 -0800 (PST) Message-ID: Date: Tue, 27 Dec 2005 20:37:00 -0800 From: Craig McClanahan Sender: craigmcc@gmail.com To: Struts Developers List Subject: Re: [shale] Overall requirements for "remoting" feature In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_46614_32905478.1135744620403" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_46614_32905478.1135744620403 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 12/27/05, netsql wrote: > > > > PROPOSED REMOTING FUNCTIONALITY - GOALS: > > > > The remoting support in Shale should be focused on providing > > client-technology-agnostic mapping of incoming HTTP requests to server > side > > dynamic logic for AJAX-enabled widgets (including AJAX-enabled > JavaServer > > Faces components), plus an easy way to serve static resources (from > either > > the web application itself or from class loader resources) that the > client > > side widgets might require. This support must operate in either a > servlet > > or portlet environment, and require minimal (ideally none in the > simplest > > case) configuration at the application level. > > > > Great, but there are other remoting types, like AMF, Soap, etc. Could > other protocols be pluged in to request and return from chain? The current remote implementation can already do this. Nothing changes wit= h the proposed implementation, except that you will not be *required* to use Commons Chain as your implementation technique. And other "ui" of course other than (short lived I predict) > JavaScript/DHTML. > JDNC, Flash components (flash 8.5 has a cool new VM) > If I plug in the ADF sf.net, could I process flash requests? I don't > need you to implement it, as long as there is a "plugin" mechanism, > especially for binary protocols. The current mechanism, and the proposed mechanism, both support binary protocols as well ... by virtue of providing you access to an underlying output stream instead of a writer, which can be used to create the response. Indeed, this will be necessary to correctly serve static images (which cannot be reliably delivered via any sort of text stream) already. > > > PROPOSED REMOTING FUNCTIONALITY - IMPLEMENTATION STRATEGY: > > > > > > * (Optional) alternative dynamic execution mapping to execute a Commons > > Chain command > > (essentially equivalent to the current functionality, and/or a tie-in > to > > Struts Action Framework 1.3.x > > type processing logic). > > > > * (Optional) alternative dynamic execution mapping to execute an XWork > > action (essentially > > equivalent to what WebWork currently does for mapping incoming URLs t= o > > business logic). > > > > Great that WebWork and "Clasic" are in there or could be pluged in. > Ideally Shale is JSF centric but allowed other view types (and remoting > protocols) That's definitely an advantage of adding this particular level of absraction. It lets you mix and match server side technologies for the types of responses you need for particular URL patterns. .V Craig ------=_Part_46614_32905478.1135744620403--