commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nestor Urquiza <>
Subject [SCXML] patterns for bridging
Date Wed, 19 Apr 2006 16:51:48 GMT
Hello guys,

Recently Rahul gave an excellent list of some patterns
to handle bridging[1].

I am trying to bridge my "system" or "domain" layer to
my "scxml engine".

Could anyone please give advice about which of them
[1] better fit my usecase:

I need to be able to accept an http request, analyze
if specific business rules (to be configured by means
of conditions (guards) in an scxml file) apply, then
execute some internal actions and then move to the
proper final state.

Let us put an example:
-current state is S10 that will go to S12 if event
E101 is received and condition C1 is satisfied. 
-C1 should be true if the request come from a valid IP
and the proper actions related to E1 were succesfully

So before starting to execute specific-code for E101
the first part of C1 (validIP eq true) should be
satisfied what makes the execution of specific-code
dependant on a setting from the scxml file. Later when
the specific-code finishes, the rest of the condition
(E101 finished correctly) can be validated and the
transition can occur. 


[1] See thread named [SCXML] SCXMLListener Exception
Handling Question

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message