You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2013/11/23 00:19:00 UTC

[Commons Wiki] Update of "SCXML/FrequentlyAskedQuestions" by Woonsan Ko

Dear Wiki user,

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

The "SCXML/FrequentlyAskedQuestions" page has been changed by Woonsan Ko:
https://wiki.apache.org/commons/SCXML/FrequentlyAskedQuestions?action=diff&rev1=17&rev2=18

  
  ==== Do you have a simple example where Commons SCXML is used? ====
  
- Sure, take a look at the [[http://jakarta.apache.org/commons/sandbox/scxml/usecases/scxml-stopwatch.html|stopwatch usecase]].
+ Sure, take a look at the [[http://commons.apache.org/proper/commons-scxml/usecases/scxml-stopwatch.html|stopwatch usecase]].
  
  ==== What is a Context? And what is an Evaluator? ====
  
@@ -36, +36 @@

  
   * 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 [[http://jakarta.apache.org/commons/sandbox/scxml/apidocs/org/apache/commons/scxml/env/jexl/package-summary.html|JEXL]] and [[http://jakarta.apache.org/commons/sandbox/scxml/apidocs/org/apache/commons/scxml/env/jsp/package-summary.html|JSP 2.0 EL]].
+ Commons SCXML currently provide implementations for [[http://commons.apache.org/proper/commons-scxml/apidocs/org/apache/commons/scxml/env/jexl/package-summary.html|JEXL]] and [[http://commons.apache.org/proper/commons-scxml/apidocs/org/apache/commons/scxml/env/jsp/package-summary.html|JSP 2.0 EL]].
  
  ==== Which expression languages does the Commons SCXML implementation support? ====
  
-  * [[http://jakarta.apache.org/commons/sandbox/scxml/apidocs/org/apache/commons/scxml/env/jexl/package-summary.html|JEXL]]
+  * [[http://commons.apache.org/proper/commons-scxml/apidocs/org/apache/commons/scxml/env/jexl/package-summary.html|JEXL]]
-  * [[http://jakarta.apache.org/commons/sandbox/scxml/apidocs/org/apache/commons/scxml/env/jsp/package-summary.html|JSP 2.0 EL]]
+  * [[http://commons.apache.org/proper/commons-scxml/apidocs/org/apache/commons/scxml/env/jsp/package-summary.html|JSP 2.0 EL]]
  
  ==== How do I try out the sample SCXML documents? ====
  
- The SCXML distribution provides utility classes that offer mock command line environments allowing users to try out samples. The core dependencies for Commons SCXML are Commons Digester (which introduces a transitive dependency on Commons !BeanUtils, at the least) and Commons Logging. View the [[http://jakarta.apache.org/commons/sandbox/scxml/dependencies.html|dependencies page]] for the recommended version numbers. It may be possible to use lower version numbers for the Commons dependencies.
+ The SCXML distribution provides utility classes that offer mock command line environments allowing users to try out samples. The core dependencies for Commons SCXML are Commons Digester (which introduces a transitive dependency on Commons !BeanUtils, at the least) and Commons Logging. View the [[http://commons.apache.org/proper/commons-scxml/dependencies.html|dependencies page]] for the recommended version numbers. It may be possible to use lower version numbers for the Commons dependencies.
  
  An environment specific expression language is used in SCXML documents. Commons SCXML currently supports the use of JEXL or JSP 2.0 EL in SCXML documents.
  
@@ -87, +87 @@

  
  You could set up something more elegant (a script, an ant task etc.), but that is what it boils down to. If the document is a well-formed SCXML document, you will be able to type {{{?}}} or {{{help}}} at the console and you can follow the directions thereafter (to simulate events, set variable values, reset the state machine or quit).
  
- A few examples are available as part of the [[http://svn.apache.org/repos/asf/jakarta/commons/sandbox/scxml/trunk/src/test/java/org/apache/commons/scxml/|Commons SCXML test suite]] (look in env packages as well). Enjoy, and feedback is always welcome.
+ A few examples are available as part of the [[http://svn.apache.org/repos/asf/commons/proper/scxml/branches/commons-scxml-0.xx/src/test/java/org/apache/commons/scxml/|Commons SCXML test suite]] (look in env packages as well). Enjoy, and feedback is always welcome.
  
  ==== Can I use more than one expression language in the same SCXML document? ====
  
@@ -107, +107 @@

  
  ==== How do I enable / control the logging within the Commons SCXML package? ====
  
- Commons SCXML uses Commons Logging. See the [[http://jakarta.apache.org/commons/logging/|Commons Logging Website]] for more details.
+ Commons SCXML uses Commons Logging. See the [[http://commons.apache.org/proper/commons-logging/|Commons Logging Website]] for more details.
  
  ==== Can multiple threads safely interact with an instance of SCXMLExecutor? ====
  
@@ -125, +125 @@

  
  Here are two example from our usecases that have nothing to do with voice applications:
  
-  * [[http://jakarta.apache.org/commons/sandbox/scxml/usecases/scxml-stopwatch.html|SCXML Stopwatch example]]
+  * [[http://commons.apache.org/proper/commons-scxml/usecases/scxml-stopwatch.html|SCXML Stopwatch example]]
-  * [[http://jakarta.apache.org/commons/sandbox/scxml/usecases/scxml-in-shale-dialogs.html|SCXML in Shale dialogs]]
+  * [[http://commons.apache.org/proper/commons-scxml/usecases/scxml-in-shale-dialogs.html|SCXML in Shale dialogs]]
  
  ==== What are the core requirements of SCXML? Do I need to include the JSP and Servlet API or the Faces libraries? Do I need to include Commons JEXL or Commons EL? ====
  
@@ -134, +134 @@

  
  You do '''not''' need to include JSP or Servlet or Faces libraries. These are meant to come in via the servlet container environment and the corresponding classes in the Commons SCXML codebase which have those dependencies are meant to be used only in JSP/Servlet/Faces environments.
  
- In addition, you will need to choose an expression language for your SCXML documents. The recommended expression language for the Commons SCXML implementation is [[http://jakarta.apache.org/commons/jexl/|JEXL]]. Using JEXL for expressions introduces a dependency of Commons JEXL. For usecases in JSP-based environments, EL will be a prefered choice over JEXL, and if you choose to use JSP 2.0 EL, that introduces a dependency of Commons EL and a runtime dependency on the JSP API (again, these should come in via the servlet container).
+ In addition, you will need to choose an expression language for your SCXML documents. The recommended expression language for the Commons SCXML implementation is [[http://commons.apache.org/proper/commons-jexl/|JEXL]]. Using JEXL for expressions introduces a dependency of Commons JEXL. For usecases in JSP-based environments, EL will be a prefered choice over JEXL, and if you choose to use JSP 2.0 EL, that introduces a dependency of Commons EL and a runtime dependency on the JSP API (again, these should come in via the servlet container).
  
- See the [[http://jakarta.apache.org/commons/sandbox/scxml/dependencies.html|dependencies page]] on the Commons SCXML website for details about the dependency versions.
+ See the [[http://commons.apache.org/proper/commons-scxml/dependencies.html|dependencies page]] on the Commons SCXML website for details about the dependency versions.
  
  ==== Does Commons SCXML implement the entire Working Draft? Are there any parts of the SCXML draft that are not covered by Commons SCXML? ====
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org