This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "intergrating flex with java using blaze d" Watch "intergrating flex with java using blaze d" New topic
Author

intergrating flex with java using blaze d

ambika mullasseri
Greenhorn

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

SCJP 6.0 86%
Armindo Cachada
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: intergrating flex with java using blaze d
 
Similar Threads
Any APIs in Flex for figuring out server details at runtime ?
Is Flex built on Java?
An integration with Flex question
Flex - Single URL throughout the application..
Flex and jsp communication