IntelliJ Java IDE
The moose likes Flex and the fly likes Pass ArrayCollection from Flex to Java Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Flex
Reply Bookmark "Pass ArrayCollection from Flex to Java" Watch "Pass ArrayCollection from Flex to Java" New topic
Author

Pass ArrayCollection from Flex to Java

Srinivasan Jayaraman
Greenhorn

Joined: Sep 26, 2010
Posts: 1
Hi,
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...

Regards
Srini
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3598

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


My Blog: Down Home Country Coding with Scott Selikoff
 
 
subject: Pass ArrayCollection from Flex to Java
 
Threads others viewed
Typecasting arraycollection to arraylist in FlexBuilder 3
Difference between Array and ArrayCollection ?
Passing Flex objects to Java
Extracting values from an ArrayList into String variables
Unique Values in ArrayCollection?
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture