Skip navigation
Currently Being Moderated

Do I understand the Flex/Java communication options correctly?

Feb 12, 2012 9:07 AM

As best as I can tell, the options for communication between Flex and Java using BlazeDS are as follows:


Use RemoteObject in Flex to send a message (RPC) from Flex to Java, and get a reply via an asynchronous callback.  On the Java side this constructs a new object for each such message.


Use Consumer in Flex to listen for inbound messages.  These can come from other Flex clients (Producer) or from a Java server (using AsyncMessage and MessageBroker).


Use Producer in Flex to send messages to other Flex clients.



Did I miss any options?


Am I correct that Producer cannot be used to send a message to Java?  If this is not correct, a link to an example of the Java code required would be greatly appreciated.





More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points