Sunday, March 4, 2012

state machine for java

Not bad. I started the project after my last post. That means less than 3 weeks. Done in my spare time, when commuting to work. In tram 4. Motivation changes the dimension time/productivity.

The result: just a basic concurrent state machine api that allows easily managing complex states and transitions. Besides, I have enriched the controllers with some fancy annotations for simplifying the state machine definition.

Very happy with the result. Still pending some improvements and functionalities.

My first open source contribution after several years thinking about it, under Apache 2.0 license.

Any feedback would be great. I hope you enjoy it: https://github.com/xaviferro/xiron-statemachine

State machines in JS

You can read in previous blog posts the reasoning behind state machines: they simplify and unify the way we define states and transitions i...