Expand my Community achievements bar.

How to debug Flash Remoting for Java Objects running on JBOSS


Level 1
I am trying to get a HelloWorld type of app running and am
stuck after numerous tries.

My Goal is to be able to hookup a Flex Control to data
returned from a Java Object hosted in JBOSS.

I found that BlazeDS would enable me to do that.

My setup: Eclipse 3.3, BlazeDS, JBOSS app. I did not install
Flexbuilder as BlazeDS is purported to be open source.I have
installed Debug version of Flash Player.

After tinkering with the config files for a few hours and
trolling a lot of web sites, I was able to make the page hit my
remote Java Object. So I thought I was able to validate remoting.
But the last piece is still missing - getting the return values

I have been unable to find any documentation which indicates
what kind of setup is needed to hookup values to mx:controls.

I tried a DataGrid and hooked it up to a API which returns a
list of VOs. DId not work.

I tried a HTMLText control and wired it to a property of a VO
. DId not work.

The code is being hit on the server side. but nothing is
showing up in the browser.

I need a way to debug this on the client to see what is

or if someone knows what is the expectation on the client
side for remoting, that will help too.


I am enclosing my MXML file for reference below.


<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="



import mx.controls.Alert;



<mx:RemoteObject id="srv" destination="product"


dataProvider="{srv.getAccountsList.lastResult}" width="50%"


<mx:DataGridColumn dataField="AccountId"/>

<mx:DataGridColumn dataField="AcctNickname"/>

<mx:DataGridColumn dataField="AcctNumber"/>

<mx:DataGridColumn dataField="AcctType"/>

<mx:DataGridColumn dataField="LastSuccessfulDate"/>

<mx:DataGridColumn dataField="AcctBal"/>



<mx:Panel title="RemoteObject Example" height="75%"

paddingTop="10" paddingBottom="10" paddingLeft="10"


<mx:Button label="Get Cur Account"


<mx:Button label="Get Data"


0 Replies