Return-Path: X-Original-To: apmail-flex-users-archive@www.apache.org Delivered-To: apmail-flex-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77BFB10FE6 for ; Wed, 21 Aug 2013 14:08:48 +0000 (UTC) Received: (qmail 51941 invoked by uid 500); 21 Aug 2013 14:08:48 -0000 Delivered-To: apmail-flex-users-archive@flex.apache.org Received: (qmail 51551 invoked by uid 500); 21 Aug 2013 14:08:47 -0000 Mailing-List: contact users-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@flex.apache.org Delivered-To: mailing list users@flex.apache.org Received: (qmail 51525 invoked by uid 99); 21 Aug 2013 14:08:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 14:08:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of frawolff@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 14:08:42 +0000 Received: by mail-la0-f46.google.com with SMTP id eh20so375655lab.5 for ; Wed, 21 Aug 2013 07:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=odt4PeGS3SXNyfm7l8cScPdEFzBCEmE3t5Rd8mT62Co=; b=X36Jr3jspi4XAkM0iwyzhlCQCuEXU+ESs/xmGbe4MK3w3dMIVnKALPQNp6H1hjeUVl LPxcmZDWF9OCMS/AE7sMDn9Zuwgm59h3yqCOaULkSdI27KuUTcHKSfBKL3G34gYBJ6jM f5K6Zbj/NxLlnZCvJ3BYItd8ze2oxHgM6VywxfOrEhrrxbzDJgN7V6UjkkgERKrhQPb7 C+j86B7FKoJejb7twfmynj5OIEowGjP6QY8ApCUdiUAkHo4p1uZYfvcmIjRrYlDnKOeL FOhOX7Njg3EfRtXdMUjyeGZSKgTrWJVogXvUoxxowMTyqeL0ZUt7wjt0HeVGmJPq7UlI twGA== MIME-Version: 1.0 X-Received: by 10.152.30.74 with SMTP id q10mr6263489lah.27.1377094100768; Wed, 21 Aug 2013 07:08:20 -0700 (PDT) Sender: frawolff@gmail.com Received: by 10.114.36.70 with HTTP; Wed, 21 Aug 2013 07:08:20 -0700 (PDT) In-Reply-To: References: <5214A831.2000908@gmail.com> Date: Wed, 21 Aug 2013 16:08:20 +0200 X-Google-Sender-Auth: z_ZomnyVFi0UuUuUNs7mrzfA6sU Message-ID: Subject: Re: GraniteDS 3.0.0.M3 is out From: Franck Wolff To: users@flex.apache.org Content-Type: multipart/alternative; boundary=089e0158c410b2ddb804e475b43d X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c410b2ddb804e475b43d Content-Type: text/plain; charset=ISO-8859-1 Gary, GraniteDS has standard support for AS Vector ---> Java array (or any other collection type) serialization. Java array (collections) ---> Vector needs additional care: there is no mean to know what's the client application is expecting, hence Java collections and arrays are serialized respectively as ArrayCollection and Array... As a (bad, I admit) workaround, you can plug into GraniteDS a specific AMF3 serializer that will override standard array/collection serialization to get a vector on the Flex side. What we could certainly do is to add support for a specific Java annotation (say @Vector) that will tell the serializer to send Vectors instead of ArrayCollections / Arrays when it finds it on a bean property. I'm thinking about something like: @Vector private String[] stringArray; @Vector private List stringList; or even @Vector public List getStringList() { ... } I think it would be pretty easy to implement such feature and I can certainly plan it for the next release (3.0.0.RC1). Since you seem to be using another server-side solution (BlazeDS / LCDS / ?), how do they achieve AS Vector <---> Java array / collection serialization? Franck. 2013/8/21 Gary Young > Quick question: Does GraniteDS 3 support Actionscript Vector <-----> Java > Array? > > > On Wed, Aug 21, 2013 at 8:00 AM, Franck Wolff >wrote: > > > Thanks Paul. > > > > The correct link is of course: > > > > > http://granitedataservices.com/blog/2013/08/20/graniteds-3-0-0-m3-is-out/(without > > "*.*"). > > > > BTW: sorry for the double posts, I'm a bit confused with " > > users@flex-apache.org" and the old "flex-users@incubator.apache.org"... > > > > Franck. > > > > 2013/8/21 Paul Hastings > > > > > On 8/21/2013 5:36 PM, Franck Wolff wrote: > > > > > >> http://granitedataservices.**com/blog/2013/08/20/graniteds-** > > >> 3-0-0-m3-is-out/*.*< > > > http://granitedataservices.com/blog/2013/08/20/graniteds-3-0-0-m3-is-out/*.* > > > > > >> > > > > > > your link is messed up a bit ("*.*"). > > > > > > > > > --089e0158c410b2ddb804e475b43d--