FSM for Java

112 views
Skip to first unread message

rkuhn

unread,
Jan 24, 2012, 10:27:40 AM1/24/12
to akka...@googlegroups.com
Hello,

I just merged this pull request into master, which adds a doc chapter on finite state machines in Java:

https://github.com/jboner/akka/pull/255

The Scala DSL for FSMs is quite slick already, but for Java it is more difficult due to the intrinsic verbosity of the language. Still, looking at the sample linked to above makes me wonder if e.g. state-based dispatch could be handled using a Map, or at least the transition handling could be factored out generically. Also, the FSM trait has quite convenient handling of timers and state timeouts which could probably be useful for Java, too.

So, this email is an invitation for all state machine fans out there to think a few moments whether this could be an interesting project to contribute to Akka: it's fun to hack and it is in a region of the code which does not require an intimate knowledge of Akka internals. Who wants to give it a spin?

Regards,

Roland

Jonas Bonér

unread,
Jan 24, 2012, 10:37:31 AM1/24/12
to akka...@googlegroups.com

Nice

--
Jonas Bonér
CTO
Typesafe - The software stack for applications that scale
Phone: +46 733 777 123
Twitter: @jboner

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To view this discussion on the web visit https://groups.google.com/d/msg/akka-user/-/qR_dOjKiwFsJ.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.

Reply all
Reply to author
Forward
0 new messages