   [web] Java Server, Flash Client communication
  I've been asked to develop a web based server app in Java capable of communicating with a Flash based client.I have become confused when researching the maze of possibilities for the communication layer and would like to ask what you guys feel the simplest soution is for allowing Actionscript and Java to communicate via the web?Many thanks.   
  I have always felt that xml-rpc is the easiest way to communicate from a server to flash. I am no java developer but the basic ideas should be the same. You might want to check out the open source flash xml-rpc client.http://osflash.org/xmlrpcflashI found a few things in google just searching for "xmlrpc and java"http://ws.apache.org/xmlrpc/http://www.wordtracker.com/docs/api/ch03s02.htmlIf you want to use xml-rpc these should get you started. Good luck.   ;  Simplest in my opinion is to not reinvent the wheel ... http://smartfoxserver.com is a cheap and proven solution.   ;  Sometimes you need to build a wheel so you understand how it works. If all you want to do is get up and running then use an out of the box solution. But if your working on your project to learn how the communication between the two servers is happening. Then by all means build yourself a new wheel.   ;  If you need real-time communication you have to use sockets in flash: Google: flash xmlsocketmysocket = new XMLSocket;mysocket.onConnect = handleConnect;mysocket.connect("http://www.myserver.com", 12345);function handleConnect(connectionStatus){  connectionStatus ? trace("Connected.") : trace("Connection failed.");}And let Java handle the details on the server.If real-time is not important, xmlhttprequest can be your friend.   ;  Thanks guys. I've asked this question in a few places and so far the simplest way to achieve communication between the server and clientlooks to be by using SOAP.   ;  ahahahh, No not soap. I have have lots of problems with soap in the past. But if your using Microsoft provided stuff then it is a pretty good solution. XML-RPC is just another way of doing the same thing. Good luck and keep us updated on how it works out for you.   