Return-Path: Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: (qmail 64440 invoked from network); 19 Nov 2009 08:22:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 08:22:10 -0000 Received: (qmail 66380 invoked by uid 500); 19 Nov 2009 08:22:10 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 66342 invoked by uid 500); 19 Nov 2009 08:22:10 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 66332 invoked by uid 99); 19 Nov 2009 08:22:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 08:22:10 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of razumovsky.andrey@gmail.com designates 209.85.218.217 as permitted sender) Received: from [209.85.218.217] (HELO mail-bw0-f217.google.com) (209.85.218.217) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 08:22:07 +0000 Received: by bwz9 with SMTP id 9so1999208bwz.12 for ; Thu, 19 Nov 2009 00:21:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=XYrCGoIrq4SVJFihTI/L+lciBBumhuYN52F63/2kipg=; b=NoiXPN2HplJHb/P7uMunFc89vOUcGXq31xo921xu8f9DfW1+vlX50O0I6W3sZ3sHrL MItKQOcdMJSjDvmfVt6Q3v2NYEowt8+eZ2GTb/1uN0zCnPAu5juYAy+hiQ4OHJ+kpEpp gONwM+1LcqB4G+qIm4cz2U5quoUMvoWCYTIRY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=elqxgVrpe3jMz33VdTYs7R7HrUl/4THRNDEtv+wmqUXZO99xuOmaDsdiWKkvHvJ64e OdsAP4KfF045mxxCbarwUMirxCBVQlaJ8VqWjKbEU9TqvoZfcbNYWHw83c67KIdujpqk W6XAeG1WpgwtGT1GE7idMjPOV67bvGyHXdqQ4= MIME-Version: 1.0 Received: by 10.223.81.65 with SMTP id w1mr825542fak.46.1258618906082; Thu, 19 Nov 2009 00:21:46 -0800 (PST) In-Reply-To: <7e3605160911181959m2c295560jd204a07a2badd957@mail.gmail.com> References: <3219fff70911171126k24894bb9ke762ebb2804fa2d4@mail.gmail.com> <5adb61290911171153w37e83443sd8c52940b9d65e0@mail.gmail.com> <7e3605160911181959m2c295560jd204a07a2badd957@mail.gmail.com> From: Andrey Razumovsky Date: Thu, 19 Nov 2009 11:21:26 +0300 Message-ID: <3219fff70911190021q5c83df7m6b504cb9ea9e46fc@mail.gmail.com> Subject: Re: Plans for the future (aka 3.1 roadmap) To: dev@cayenne.apache.org Content-Type: multipart/alternative; boundary=001517447dc6ce002b0478b50cae --001517447dc6ce002b0478b50cae Content-Type: text/plain; charset=ISO-8859-1 I really want to have some "ROP AJAX client" too. Particularily, GWT ROP CLient, so that we could work on Web client same way (but using async calls, of course) we do it on ROP client. What I soon found is that currently ROP client has very complicated logic, in fact it lives its own life. E.g. it can do resolving lazy relationships as needed (and in the middle of method!), which is impossible in asynchronous AJAX model. So I ended up writing simple module that converts server-side objects to JSON. Another problem is that unlike server-side objects, client-side objects do not have a map for all properties (anyone knows why it was done so?), therefore they cannot be resolved without Reflection, and GWT does not have reflection. But, I really want to fix this in 3.1 as a step to unificate server-side and client-side objects. So, creating "GWT ROP Client" is a separate step, which contains several ideas from ROP, but should have its own architecture. 2009/11/19 Kevin Menard > On Tue, Nov 17, 2009 at 2:53 PM, Michael Gentry > wrote: > > On Tue, Nov 17, 2009 at 2:26 PM, Andrey Razumovsky > > wrote: > >> --- ROP: unify client- and server classes. i really want to see classes > that > >> can work both on client and server someday. > > > > I've never used ROP, but a lot of us here are starting to look into > > AJAX for use in our applications and I'm wondering if some kind of > > AJAX/JSON support via ROP would be useful. > > We had an SoC project a few summers back that support WSDL for ROP. > That may be your best bet and it is something I'd like to resurrect. > Layering JSON on top of that should be rather straightforward. > > -- > Kevin > -- Andrey --001517447dc6ce002b0478b50cae--