AsDoclet can be used to generate Actionscript and C# files out of Java sources. Such a tool is useful for RIA and client/server applications where value objects are transmitted between server and client as serialized data that should be deserializable on both ends again. That includes remoting technologies like Flash Remoting, RTMP, Blaze DS, Red5, and Hessian.
Granite Data Services (GraniteDS) is a comprehensive development and integration solution for building Flex / JavaEE RIA applications. The primary goal of this project is to provide a framework for Flex 3+/EJB3/Seam/Spring/Guice/POJO application development with full AMF3/RemoteObject benefits. It also features a Comet-like Data Push implementation (AMF3 requests sent over HTTP) and ActionScript3 code generation tools (Ant task and Eclipse Builder).