I'm about to implement a state machine based workflow in my app and I've encountered an interesting framework that could make this task easier - http://code.google.com/p/stateless/
Sadly, it's for C# only.
Does anyone know about a similar workflow framework for Java? I'm afraid integrating Drools would take a lot more time than I can afford, I need something lightweight like the Stateless framework.
You can try
http://unimod.sourceforge.net/fsm-framework.html
http://today.java.net/pub/a/today/2006/01/04/business-processes-with-osworkflow.html
http://jakarta.apache.org/site/downloads/downloads_commons-scxml.cgi
http://springframework.org/webflow
http://www.complang.org/ragel/
http://today.java.net/article/2009/09/06/finite-state-machine-supporting-concurrent-states
Or instead of using a framework, you can use an enum to do it (which is what I do)
http://vanillajava.blogspot.com/2011/06/java-secret-using-enum-as-state-machine.html