| 1 |
<!--
|
| 2 |
* Licensed to the Apache Software Foundation (ASF) under one or more
|
| 3 |
* contributor license agreements. See the NOTICE file distributed with
|
| 4 |
* this work for additional information regarding copyright ownership.
|
| 5 |
* The ASF licenses this file to You under the Apache License, Version 2.0
|
| 6 |
* (the "License"); you may not use this file except in compliance with
|
| 7 |
* the License. You may obtain a copy of the License at
|
| 8 |
*
|
| 9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
| 10 |
*
|
| 11 |
* Unless required by applicable law or agreed to in writing, software
|
| 12 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
| 13 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 14 |
* See the License for the specific language governing permissions and
|
| 15 |
* limitations under the License.
|
| 16 |
-->
|
| 17 |
$Id$
|
| 18 |
|
| 19 |
Commons SCXML Package
|
| 20 |
Version 0.6
|
| 21 |
Release Notes
|
| 22 |
|
| 23 |
INTRODUCTION:
|
| 24 |
|
| 25 |
Commons SCXML 0.6 primarily contains new features, along with a
|
| 26 |
handful of bug fixes. See about section below for general information
|
| 27 |
on Commons SCXML.
|
| 28 |
|
| 29 |
IMPORTANT NOTES:
|
| 30 |
|
| 31 |
o Commons SCXML v0.6 requires Commons Digester v1.8 (mandatory update)
|
| 32 |
|
| 33 |
o The recommended version of Commons JEXL is now v1.1 and the
|
| 34 |
recommended version of Commons Logging is v1.1
|
| 35 |
|
| 36 |
o Starting v0.6, all SCXML elements must strictly belong to the
|
| 37 |
correct namespace with the following URI (case sensitive):
|
| 38 |
|
| 39 |
http://www.w3.org/2005/07/scxml
|
| 40 |
|
| 41 |
o See bug fixes section for semantic incompatibilities introduced due
|
| 42 |
to bugs fixed from v0.5
|
| 43 |
|
| 44 |
NEW FEATURES:
|
| 45 |
|
| 46 |
o The entire Commons SCXML object model as well as the SCXMLExecutor
|
| 47 |
instances are now serializable, as long as the user specified content
|
| 48 |
in all state contexts is also serializable. This is particularly
|
| 49 |
useful in web environments for session persistence and clustering.
|
| 50 |
If <data> elements are used; the DOM Level 2 implementation in use
|
| 51 |
must also be serializable.
|
| 52 |
|
| 53 |
o There is improved support for XML namespaces in SCXML documents.
|
| 54 |
Custom actions may be defined in user-specified namespaces.
|
| 55 |
|
| 56 |
o Deferred XPath expression evaluation, in context of interaction with
|
| 57 |
<data> elements, has improved. It is now possible to use namespace
|
| 58 |
prefixed XPath expressions based on prefixes used in the document.
|
| 59 |
|
| 60 |
o The SCXMLExecutor instances now provide some element of thread-safety.
|
| 61 |
Firing events on a state machine executor instance or reseting it
|
| 62 |
are synchronized operations. The underlying state machine needs to
|
| 63 |
model any race conditions correctly.
|
| 64 |
|
| 65 |
DEPRECATIONS:
|
| 66 |
|
| 67 |
All deprecations introduced in this version are scheduled for removal in
|
| 68 |
v1.0 of the library.
|
| 69 |
|
| 70 |
o [org.apache.commons.scxml.Builtin] The data() and dataNode() methods
|
| 71 |
that take two arguments are deprecated. They are replaced by their
|
| 72 |
three argument namespace-aware counterparts.
|
| 73 |
|
| 74 |
o [org.apache.commons.scxml.ErrorReporter] All String constants in this
|
| 75 |
class have been deprecated. Use constants with the same names in
|
| 76 |
org.apache.commons.scxml.semantics.ErrorConstants instead.
|
| 77 |
|
| 78 |
o [org.apache.commons.scxml.io.SCXMLDigester] The custom digester rules
|
| 79 |
in this class are deprecated. They should not have been part of the
|
| 80 |
public API to begin with.
|
| 81 |
|
| 82 |
o [org.apache.commons.scxml.model.Invoke] The method getParams()
|
| 83 |
returning a java.util.Map has been deprecated. Use the method
|
| 84 |
params() returning a java.util.List instead. See Javadocs for details.
|
| 85 |
|
| 86 |
BUG FIXES:
|
| 87 |
|
| 88 |
o [SCXML-21] Delay is not processed for <send> element with default
|
| 89 |
targettype ("scxml").
|
| 90 |
|
| 91 |
o [SCXML-16] target and targettype attributes of <send> element should
|
| 92 |
be evaluated as expressions.
|
| 93 |
|
| 94 |
o [SCXML-14] Allow target of a transition to be omitted.
|
| 95 |
|
| 96 |
OTHER CHANGES:
|
| 97 |
|
| 98 |
o [SCXML-31] <var> and <assign> now log new values.
|
| 99 |
|
| 100 |
ABOUT COMMONS SCXML:
|
| 101 |
|
| 102 |
The Commons SCXML (State Chart XML) project provides a generic
|
| 103 |
state-machine based execution environment. It borrows most semantics
|
| 104 |
from its namesake Working Draft at the W3C. Anything that can be
|
| 105 |
represented as a UML state chart -- business process flows, view
|
| 106 |
navigation bits, interaction or dialog management, and many more -- can
|
| 107 |
leverage the Commons SCXML library. The library abstracts out the
|
| 108 |
environment interfaces, and can be used in numerous server-side and
|
| 109 |
client-side runtimes.
|
| 110 |
|
| 111 |
Please visit the website for project information and documentation:
|
| 112 |
|
| 113 |
http://jakarta.apache.org/commons/scxml/
|
| 114 |
|