Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

flex java communication

 
Kowshik Nandagudi
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic