views:

34

answers:

1

I need to develop client server application that involve gaming. I have no experience in flash and I was reading about the AMF3 protocol that is compact and fast, is it better than xml/json for data exchange? Also I need it to be on port 80.

A: 

Sounds like you want to look at BlazeDS. It has built in AMF channels. We use BlazeDS in all our client/server apps and prefer it over xml/json. However, it will require a tomcat server. Fortunately, the turnkey edition comes bundled with a pre-configured tomcat setup.

gmale
how is the performance?
It's more efficient than xml and comparable to JSON but what we like about it is it blends so seamlessly into Adobe's suite of products that it makes life easier. We use BlazeDS to manage push messaging from our servers. Meaning, we have one compact, efficient object that we send from our java server to our RIA clients, all over an AMF channel.
gmale
For a more detailed review of AMF vs. JSON, check [AMF vs. JSON vs. XML](http://insideria.com/2008/09/amf-vs-json-vs-xml.html) and [Clearing the FUD on amfphp’s speed versus JSON and XML ](http://www.5etdemi.com/blog/archives/2006/12/clearing-the-fud-on-amfphps-speed-versus-json-and-xml/).
gmale
i mean the server performance as it is java and tomcat