Commons SCXML issues

373 views Asked by At

I have been considering Commons SCXML implementation. It seems quite comprehensive but I have some unclear point.

In all the examples I have seen the states of the state machine are basically methods of a class that extends AbstractStateMachine class.

For small state charts this is okay but for machines with lots of states (IN BCSM like) this is an overkill.

Is there a possibility by default to have the states represented as classes (aka the StateMachine to be a composite of State)?

1

There are 1 answers

0
user1577802 On BEST ANSWER

Try: Control Isolator. A Control Flow Java library based on Apache Commons SCXML state machines.

http://ramontalaverasuarez.blogspot.com.es/2012/10/ControlIsolator.html

It greatly simplifies working with SCXML.