wizard4j offers a java engine that 'runs' flowcharts (written in xml). A 'flowchart run' creates a sequence of user interactions (java api, html forms, rs, ...).The result of a 'run' can be applied to template frameworks like Velocity or Freemarker
Aqueduct is a simple state machine library written in Java. Some programs can be described naturally as a state machine or a flowchart; this library is intended to simplify the development of such programs.