Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any alternative to Apache Commons SCXML? [closed]

I'm looking for a good and universal state machine and so far I've found SCXML. It's really simple to use (I mean the configuration) but the source code is archaic - there is no type safety and all collections are raw types. I don't have to say how difficult is to find what actually is stored in those collections. So is there any modern alternative?

like image 432
user219882 Avatar asked Nov 28 '11 20:11

user219882


2 Answers

I have used two State Machine products, where I define a product as something that takes actually creates portions of an operational program.

1) QP ( at http://www.state-machine.com/ ). I used this in 2006 in a Windows C++ communications product. Worked very well, but has a limited number of target platforms. Overall this was the best product, but it can cost money depending on how you use it.

2) State Machine Compiler ( at http://smc.sourceforge.net/ ). I am using this today in an iOS product ( http://dr.edgemoor.com ) written in Objective-C. I came across your question while researching alternatives to SMC. I have not found any.

SMC is less well documented, but also simpler in scope. And it big strength is that it generates code for a number of languages, more than any other solution I have found.

like image 167
Chris Hawkins Avatar answered Nov 15 '22 23:11

Chris Hawkins


In java, Apache Commons SCXML may be the best.But you can look up something about scxml4flex, http://code.google.com/p/scxml4flex/

like image 39
Zhaofeng_Chen Avatar answered Nov 15 '22 23:11

Zhaofeng_Chen