Template for Flex Java Server Side