File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Flex and the fly likes intergrating flex with java using blaze d Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "intergrating flex with java using blaze d" Watch "intergrating flex with java using blaze d" New topic

intergrating flex with java using blaze d

ambika mullasseri

Joined: Jun 01, 2009
Posts: 28
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: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 ""

please help me.

SCJP 6.0 86%
Armindo Cachada

Joined: Jun 14, 2009
Posts: 5
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.
I agree. Here's the link:
subject: intergrating flex with java using blaze d
It's not a secret anymore!