aspose file tools*
The moose likes Flex and the fly likes flex java communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "flex java communication" Watch "flex java communication" New topic

flex java communication

Kowshik Nandagudi
Ranch Hand

Joined: Dec 09, 2010
Posts: 57
Hi I wanted to know the process of java and flex communication in apache tomcat. I have the following things now

1) Flex mxml file
2) java file.

I need to make a war of flex application and ear of java file communicate using that?

Can anybody explain ?

Thanks in advance
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39547
Flex does have HTTP communication facilities, doesn't it? So it could access a servlet that's part of the Java web app.

Ping & DNS - updated with new look and Ping home screen widget
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 117
Hi Kowshik,

Flex provides three mechanisms to communicate with applications like Java/PHP.
They are
1) Http Service
2) Web Service
3) Remote object calling

Http Service is useful when you want to communicate with Servlet.
Remote object service is useful when you wan to to call POJO's available on server side.

I have tried both by referring tutorials available on Adobe flex site/ Documentation.
Check following links for overview

Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
subject: flex java communication
Similar Threads
Flex use
which is best integration with flex and why ?
Suggestions for a good book on Flex
Patni - Work culture
Adobe Flex 3