I look for a simple and good solution for a very common problem.
In bigger applications we need a state engine.
An application has a "state" and a "condition" triggers a "transition" to the next state or denies it.
On entry and on leaving the state or the transition a certain amount of events should be started.
What I need is a simple way to DRAW and create a good document of such a state engine and save that machine in an xml file or what ever.
Also I have to add the events anyhow. The events have to be ordered.
All that has to feed into a state controller that keeps track of any state and their transitions.
I found the eclipseplugin unimod straight forward to create the xml files. Sparxsystems's Enterprise Architect creates a lot of informations into the xml file and should work also.
Anyway, I need the possibility to implement really complicated state engines with substates a.s.o.
Maybe struts is a solution. But I have no web application.