You can always create a typed ActionScript VO. Since you'll have to go from ResultSet to typed object on the Java side before you can use the built-in marshaller, you may as well just marshal straight from your resultSet to AMF.
-Josh 2009/4/15 Daniel Freiman <[email protected]> > > > Yeah, it just felt inelegant to do manual, untyped serialization. > > 2009/4/13 Josh McDonald <[email protected]> > >> >> >> You could put them in a list of HashMaps, which should get serialised into >> an Array of simple name-value objects on the way to the Flex client? >> >> -Josh >> >> 2009/4/14 Daniel Freiman <[email protected]> >> >>> >>> >>> Yeah, something more raw. If the ResultSet was natively serializable (w/ >>> multiple rows of data), I'd be happy. I've found from previous iterations >>> of this project, that raw-ish data was the way to go here, and previous >>> languages I used easily allowed for that. >>> >>> - Dan >>> >>> 2009/4/13 Tim Rowe <[email protected]> >>> >>>> >>>> >>>> Have you already read into use of Transfer Objects and Data Access >>>> Objects, or are you looking for a solution a little more raw than that? >>>> >>>> >>>> *Tim Rowe* >>>> Software Engineer >>>> carsales.com Ltd >>>> >>>> ------------------------------ >>>> *From:* [email protected] [mailto:[email protected]] >>>> *On Behalf Of *Daniel Freiman >>>> *Sent:* Tuesday, 14 April 2009 7:13 AM >>>> *To:* flexcoders >>>> *Subject:* [flexcoders] Serialize Java ResultSet To Flex >>>> >>>> I want to receive a ResultSet from Java/Blaze DS. Obviously this >>>> won't work as stated, but I'm having trouble finding a correct/viable >>>> alternative. Anyone know how this is supposed to be done? >>>> >>>> - Daniel Freiman >>>> >>>> >>>> ▼ >>>> ▲ >>>> >>>> >>> >>> >>> >> >> >> -- >> "Therefore, send not to know For whom the bell tolls. It tolls for thee." >> >> Josh 'G-Funk' McDonald >> - [email protected] >> - http://twitter.com/sophistifunk >> - http://flex.joshmcdonald.info/ >> >> > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." Josh 'G-Funk' McDonald - [email protected] - http://twitter.com/sophistifunk - http://flex.joshmcdonald.info/

