File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 3704
    
    5

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pass ArrayCollection from Flex to Java