Dmitry this is something that I've been thinking of for a while .. a state machine programming model to implement business logic. I'd like to try to crack this nut in our platform next year.
Here's a research paper from IBM that provides a great start: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.87.2226&rep=rep1&type=pdf . If you'd like to help design / implement that's greatly welcome! Sanjiva. On Thu, Nov 28, 2013 at 2:19 PM, Dmitry Lukyanov <[email protected]> wrote: > Hi All, > > I'm working in a Ukrainian Bank and we are using wso2esb for integration. > I just want to share the idea: SCXML as Module/Mediator for esb. > http://en.wikipedia.org/wiki/SCXML > > The idea is to have something like business processes services. > For example a PaymentOrder service : > > operation createPayment-> state created > state created -> operation confirmPayment -> state confirmed > state created -> operation cancelPayment -> state cancelled > > each state could have onEntry handler (java code called or it could be esb > sequence) > transition could be > conditional (xpath expression) > unconditional (default transition) > and could be triggered by service operation > > Each PaymentOrder instance is actually an XML that enriched > with each operation call and onEntry handlers. > > I understand, that we can use the wso2bps > > - Long running stateful processes > > > But BPEL is quite complex to business people and even for developers, > and SCXML is really simple and easy to understand. > > > > -- > Regards, > Dmitry > > > _______________________________________________ > Architecture mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > > -- Sanjiva Weerawarana, Ph.D. Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ email: [email protected]; office: +1 650 745 4499 x5700; cell: +94 77 787 6880 | +1 650 265 8311 blog: http://sanjiva.weerawarana.org/ Lean . Enterprise . Middleware
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
