Helpful reminders for Flex/Java Dev

Walking through my Adobe Professional Flex 3 book and there are some things that strike me as being worthy of posting as a reminder to myself and others about the interaction.

First is the type "equivalence" that I will never remember until I work with it quite a bit:
ActionScript Type Java Type 
 Array(Dense) List
 Array(Sparse) Map
 ArrayCollectionArrayList
 Boolean (or"true" or "false" strings)
 Boolean
 ByteArray byte[]
 Date Date
 int/uint Integer
 Number Double
 Object Map
 String String
 XML or XMLDocumentDocument
 UndefinedNull

 

The next item is that one can use Proxy Service to do "push" type interactions from the server to the Flex client, but A SAFETY fall back of a regular polling Remote Object also should be setup in case the push channel can't operate properly.

© 2017 Chad Jorgenson. All Rights Reserved.