File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

intergrating flex with java using blaze d

 
ambika mullasseri
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am new to flex i wanted to use flex as a front end to my java application.

i tried to create a sample project

an mxml with

<mx:RemoteObject id="myService" destination="remoteService" result="populateList(event)"/>
<mx:List id="singerList" >

</mx:List>
<mx:Button click="myService.callMe();" label="Call Remote Function" />



I created an swf out of this and placed in my web app.the swf is created using eclipse and ant script .Not flex builder.

in my webapp i have the remote file configured and also a java class with the callMe method.


but when i click on the button, nothing happens.
this example is taken from a link in internet "http://www.spltech.co.uk/blog/jboss/integrate-adobe-flex-and-jboss-using-blazeds-part-i"

please help me.
 
Armindo Cachada
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you added the compiler arguments like services-config and context-root to your ant script? Even though you don't use Flex Builder, you are still required to provide that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic