Communicating between Java and Flash without a Flash-specific server?

Well, you can make http requests from flash to any url... so if your java server has a point where it can listen to incoming requests and process XML or JSON, your flash client can just make the request to that url. BlazeDS and Red5 just aim to make it simpler by handling the translation for you making it possible to call the server-side functions transparently.

– Gili Sep 19 '08 at 21:16 Gili : yes, I do it. – Antoine Claval Aug 26 '09 at 9:17.

If they're running in a browser then you can use javascript. Both Flash and Java are can access javascript.It's fragile, but it works. If they're running as actual applications then you can have Java open a socket connection on some port.

Then Flash can connect to that and they can send XML data back and forth. I've done both of these, so I know they both work. The javascript thing is fragile, but the socket stuff has worked great.

– Gili Sep 19 '08 at 21:15 Depends on the context it's running in. If it's running in a browser then it can't do that. If it's running as an EXE (projector) then it works fine.

I think it might work as well as a SWF running in the standalone player, but I don't remember. – Herms Sep 22 '08 at 13:24.

WebORB for Java may be of some help to you. It integrates with your J2EE code. For more info: themidnightcoders.com/weborb/java/ I'm sorry, I reread your question that you are only looking for a client side solution.In this case, WebORB will not help you.

Sorry for the misunderstanding.

There's a Flash implementation of Caucho's Hessian web service protocol. This approach would be similar to using JSon or XML, but is more performant, since Hessian is a binary protocol. If you happen to be using Spring on your server, you can use the Spring/Hessian binding to call you Spring services directly from your Flash application with minimal work.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions