Using granite data service to serialize/deserialize objects between Java and Flash/Flex, this is the one of the infrastructure for complex projects.