We are using remoting with Blaze. Now, keep in mind that if you do go
JSON route you'll be able to use different UIs (like build small
factor device UI in JS). With remoting you are 'locked in the
solution' (but we like it :) ).

On Sat, Apr 4, 2009 at 3:41 PM, max.nachlinger <max.nachlin...@gmail.com> wrote:
> I'd personally go with Remoting via BlazeDS.
>
> With remoting you can:
>
> 1. Map your AS DTOs to Java DTOs, meaning when data arrives from the 
> middle-tier, you get it automatically typed as your AS classes.  (e.g. a 
> remote call to "searchUsers()" will return an Array of your native User 
> objects).
> 2. You can send an AS DTO at the middle tier and it will arrive as its Java 
> DTO counterpart.
> 3. Remoting talks via AMF, which, being a binary format, is far less bloated 
> than JSON.
> 4. You are not tied to DTOs, you can still send standard objects and 
> primitives across the wire.
>
> The down-side to the DTO approach outlined above is that you have to maintain 
> 2 sets of these objects.  Code generation helps here and its arguably a small 
> price to pay for what remoting brings to the table.
>
> JSON is a pain as you'll have to do a fair amount of de-serializing and 
> casting, but it you want to go that dark-route, as3corelib has great JSON 
> support.
>
> I'm still waiting for someone to (fully) implement Google's badass Protocol 
> Buffers (http://code.google.com/apis/protocolbuffers/), which would be a 
> great binary alternative to remoting.
>
> Hope this rambling answer helps.
>
> --- In flexcoders@yahoogroups.com, "oneworld95" <oneworl...@...> wrote:
>>
>> Which tech do you recommend for simply reading data from the database via 
>> Java? BlazeDS or JSON? I'm thinking of keeping things simple and efficient. 
>> Thanks.
>>
>> - Alex C
>>
>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>

Reply via email to