From: <ra...@ar...> - 2012-05-27 10:26:25
|
To motivate the use of FSM, please see http://www.skorks.com/2011/09/why-developers-never-use-state-machines/ http://labs.qt.nokia.com/2009/01/30/qt-state-machine-framework/ http://homepages.fh-regensburg.de/~mpool/mpool08/submissions/Sterkin.pdf It is not so easy to find fine OSS Java FSM frameworks, examples are 1. Apache Commons SCXML http://commons.apache.org/scxml/index.html This uses a W3C XML language to define the FSM. There is a visual editor that creates this language at http://code.google.com/p/scxmlgui/ 2. Unimod http://unimod.sourceforge.net/intro.html This has all in one package, even an Eclipse plug-in. Does not work in eclipse-3.7. However, it's still interesting, even without plugin. 3. Umple http://code.google.com/p/umple/wiki/UmpleHome It uses its own description language and has an eclipse plugin. I have also put a question on stackoverflow, http://stackoverflow.com/questions/10772443/which-java-state-machine-framework-has-a-functional-visual-eclipse-3-7-editor We'll see what this gets. The goal is to use the FSM to provide all GUI related event-driven app logic in JCP. This would be equivalent with a client-server separation of JCP-CDK, as far as I understand. It would also make clear what belongs to JCP (its app logic) and what not (the services it uses). This would be a long-term project and affect the Controller classes in JCP, but also in CDK. It would be a part of the Renderer/ Controller fork cleanup work. Any further ideas? Regards, ralf |