Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

BlazeDS and Flex Data Types


Level 1
So, I'm working with one of the samples and tweaking it
around a bit. Now I'm at a bit of a quandary, though:

I have a Java function that returns a List. I want to pass it
to Flex using a RemoteObject that calls the function, which means
it'll return a List. So...what type in Flex should I be using to
store the List? If it helps any, I'm going to eventually use the
List as a DataProvider for something after it's in a format Flex
can use.
1 Reply


Level 2

List will be converted into ArrayCollection in Flex. You will
have to say event.result as ArrayCollection in your result handler.
Please visit the URL below for more details on AS3 and Java objects
type mappings.

Hope this helps.