File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 42934
    
  68
Flex does have HTTP communication facilities, doesn't it? So it could access a servlet that's part of the Java web 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