This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pass ArrayCollection from Flex to Java

 
Srinivasan Jayaraman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Saloon Keeper
Posts: 4008
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's often easier to pass XML as string data or serialize the objects between the two platforms with a more advanced data framework.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic