This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "flex java communication" Watch "flex java communication" New topic
Author

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
Marshal

Joined: Mar 22, 2005
Posts: 42358
    
  64
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 - my free Android networking tools app
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 118
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
Link1
Link2



Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: flex java communication