Hi All, I am learning flex and was trying the RemoteObject to interact with backend Java layer. I am creating ActionScript counterparts for all my (DAO)Java Beans and letting the flex do the serialization/deserialization.
The objects being returned are all "typed". Now as I understand, if I don't have "typed" return types from my methods in the backend java layer and I get Object as Associate Arrays in the client (flex) side. Since I can access the fields of this object using the associative array syntax object.fieldname which is the same if I have had an actually Typed object. WHat is the advantage does returning typed objects give ? One I can think of is knowing any invalid field access at compile time. Is there any other advantage? Isn't adding many DAOs in flex side would mean increase in SWF file size ? Thanks

