Try Restcomm Cloud NOW for FREE! Zero download and install required.
All Restcomm docs and downloads are now available at Restcomm.com.
Just like the squirrel, a small, agile, smart, alert and cute animal, squirrel-foundation is aimed to provide a lightweight, highly flexible and extensible, diagnosable, easy use and type safe Java state machine implementation for enterprise usage.
Here is the state machine diagram which describes the state change of an ATM:
The sample code could be found in package "org.squirrelframework.foundation.fsm.atm".