Related link: http://jakarta.apache.org/commons/scxml

Stumbled upon an interesting utility last month: Commons SCXML promises to be an interesting tool for anyone who has to work with state machines. This component is based on a W3C recommendation form the Voice Working Group, and much of the initiall work has been completed by Rahul Akolkar.