PureMVC Architects Lounge

PureMVC Manifold => MultiCore Version => Topic started by: tiggr on February 18, 2010, 01:24:24



Title: State Machine utility planned?
Post by: tiggr on February 18, 2010, 01:24:24
Hi,

Is there any plans to port http://trac.puremvc.org/Utility_AS3_StateMachine for Java multicore edition? Or do you recommend some other base for a Finite Statemachine running puremvc on GWT?

Regards
David


Title: Re: State Machine utility planned?
Post by: aquinault on February 18, 2010, 02:28:35
Hi,

I think it possible to port the StateMachine for java multicore but i have to find a solution for parsing the xml configuration for the FSM Injector which must be generic for all platforms.

Regards
Anthony.


Title: Re: State Machine utility planned?
Post by: puremvc on February 18, 2010, 09:19:37
I don't know if it will work with GWT or not, but I highly recommend XOM.

When I was working in a Java Enterprise role, I had to figure out the same problem, and I spent a lot of time exhaustively comparing XML parsers.

XOM is the bomb!
http://www.xom.nu/

-=Cliff>


Title: Re: State Machine utility planned?
Post by: tiggr on February 22, 2010, 01:49:20
Hm, so will this XOM work as xml-parser?



Title: Re: State Machine utility planned?
Post by: puremvc on February 22, 2010, 11:08:03
Yes, it's two-way. Take XML, turn it into an object. Take an object, turn it into XML. And if you have an XML Schema (XSD) describing the XML, you can validate any XML or object against that schema.

-=Cliff>


Title: Re: State Machine utility planned?
Post by: tiggr on February 25, 2010, 06:57:51
Ok, so is this planned or should I start trying my own port?

Regards


Title: Re: State Machine utility planned?
Post by: puremvc on February 25, 2010, 10:50:30
So far, no one has stated that they are working on it. If you want to port it, you'll be greatly appreciated for your efforts!

-=Cliff>


Title: Re: State Machine utility planned?
Post by: jason on March 02, 2010, 11:38:00
I'm just using jbpm and spring.
I just created a FSMMessageHandlerCommand command, which interacts with jbpm.
config is all spring+jbpm.
works fine.