commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Jakarta-commons Wiki] Update of "SCXML/FrequentlyAskedQuestions" by RahulAkolkar
Date Tue, 14 Feb 2006 22:09:24 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by RahulAkolkar:

The comment on the change is:
New entry about contexts and evaluators (from Tim O'Brien's FAQ suggestions)

+ ==== What is a Context? And what is an Evaluator? ====
+ The SCXML specification allows an implementation to support multiple expressions languages.
These expressions become part of attribute values for executable content, such as:
+ {{{
+ <var name="foo" expr="1 + 2 + bar" />
+ }}}
+ or are used to evaluate the boolean guard conditions that decide whether or not a particular
transition is followed once its associated trigger event is received, such as:
+ {{{
+ <transition event="day.close" cond="day eq 'Friday'" target="weekend" />
+ }}}
+ In order to support multiple expression languages, Commons SCXML uses two interfaces which
serve as adapters to the APIs for the particular expression language used for a particular
SCXML document.
+  * The ''Context'' is a collection of variables that defines a variable "scope". Each <state>
element within an SCXML document gets its own ''Context'' or variable scope.
+  * The ''Evaluator'' is a component with the capability of parsing and evaluating expressions.
It is the "expression language engine".
+ Commons SCXML currently provide implementations for [
JEXL] and [
JSP 2.0 EL].
  ==== How do I try out the sample SCXML documents? ====

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

View raw message