JS4J is an extensible framework built on Java and XML that generates Javascript. It contains a built-in implementations to manage objects that have been generated by the framework, and can provide a scalable alternative to AJAX implementations.
jStates is a java library for easy state machine design and implementation.It uses XML to define states and state transitions. jStates is aimed at easy integration with desktop J2SE applications, Struts, Commons Validator, Web and other J2EE technologies