Skip to main content
Participant
October 16, 2009
Question

AS3 to JavaEE communication

  • October 16, 2009
  • 1 reply
  • 550 views

Hello!

I have to choose the right architecture in order to get in comunication flash and java ee tecnology.

The web designer in the team must use the flash cs3 designer.

In the server side there are servlet, webservice and other java ee technolgies.

First I try to get working as3 with webservice, but I notice that

as3 doesn't have a component for webservice calling it is moved in flex.

I test the thirdy part component (weelconsidered and gophr) and I don't like it.

So I'm switching to AMF comunication regret give up.

In the server side I make a servlet that use OpenAMF library. It works fine, but supports only the AMF0 (I don't like to use the older version)

(see my test at: http://programmaremobile.blogspot.com/2009/10/java-and-amf-by-as3-in-flash.html)

Can anyone recommend me a good solution for this communications?

Flex seems to be a very good solution, but I can't understand how integrate it with flash cs3 projects.

This topic has been closed for replies.

1 reply

Inspiring
October 16, 2009

Hi, Peppm.

I believe the best, easiest and fastest way to communicate to a Java server is through remoting.

There are some solutions around there, but I believe the best suited for your case is Adobe BlazeDS. If you're going to need of media streaming or Real Time Messaging, there is also Red5 (http://osflash.org/red5).

I see that you're already talking about using BlazeDS directly from Flash, withou Flex, at BlazeDS Forum. I remember to achieve this sometime, I'll try to recover and answer you there. I believe you're in the right way.

Chees,

CaioToOn!

Inspiring
October 16, 2009

Hi, Peppm.

I figure out a way to connect to the channels directly through the NetConnection class.

To the interested, here is the answer: http://forums.adobe.com/thread/506897?tstart=0

Regards,

CaioToOn!