Meaningless Drivel is fun!
The moose likes Flex and the fly likes Pass ArrayCollection from Flex to Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Pass ArrayCollection from Flex to Java" Watch "Pass ArrayCollection from Flex to Java" New topic

Pass ArrayCollection from Flex to Java

Srinivasan Jayaraman

Joined: Sep 26, 2010
Posts: 1
I need help from you guys..

I am trying to do a protoype and working on it using Flex and integrating with Spring.

I have a scenario in which i need to pass ArrayCollection to Java.When i debug i am able to see that when i pass the arraycollection to RemoteCall it has Values but in Java this is not having values.

Can you help me how to pass ArrayCollections from Flex to Java?

MY Scenario:

Class A - has arrayCollection

Class B - string a1,a2.

I will create a object Class B and set the object of class B in arrayCollection of Class A. ie single Class A can have many objects of Class B in ArrayCollection.

This is one to many concept and it will be stored in the database.

Please help on what could be the problem...

Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3753

It's often easier to pass XML as string data or serialize the objects between the two platforms with a more advanced data framework.

[OCA 8 Book] [Blog]
I agree. Here's the link:
subject: Pass ArrayCollection from Flex to Java
It's not a secret anymore!