Flex ActionScript Object and Java Object Serialization

Few days back while working on Flex and Java Webservices, I came across an issue which eventually became worst nightmare. The issue got even worst when we couldn’t find any suitable solution to overcome it. The issue was related to ActionScript value object to Java Object Serialization.