My stack is a software case study,
which is implemented in State Chart XML (SCXML) and PauWare.
PauWare is a Java engine for executing
Harel's Statecharts in general.
This case study aims at illustrating the basic use of PauWare for a stack.
My_stack.PauWare2.zipdoes not reuse PauWare2Web (no visualization at all)
while My_two_stacks.PauWare2Web.zip does.
This second application illustrates the concomitant functioning of two stack objects
(My_stack_1 and My_stack_2) having a (visual) internal state machine.
Caution: PauWare requires distinct state machine names to address visualization issues in a safe way.
Using the same name for two different objects with internal state machines lead to non-interpretable visualization.
Note that in My stack case study, each behavior is self-contained, i.e.,
there is no interdependency/interaction at all between the two behaviors.
Resources
My stack SCXML document
My_stack.scxml.
For editing purposes, you may use a simple editor
SCXML-editor.jar
with associated execution statement: java -jar SCXML-editor.jar
Java SE application as a Maven project
My_stack.PauWare2.zip
Java SE application as a Maven project
My_two_stacks.PauWare2Web.zip
Installation requirements
This application has been designed and tested by means of PauWare ver. 2.0 (a.k.a. PauWare2, Sept. 2021).
This application also reuses PauWare2Web, a PauWare2 add-on, which allows the dynamic simulation of Harel's Statecharts in a Web browser.
While PauWare2 is based on Java 9,
PauWare2Web requires Java 11.
After downloading My_stack.PauWare2Web.zip,
PauWare2PauWare2.zip
and PauWare2WebPauWare2Web.zip
must be made accessible as Maven dependencies.
PauWare2Web itself requires third-party libraries that are downloaded by Maven: