commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Linda Erlenhov <>
Subject Re: [SCXML] Executor Questions
Date Thu, 19 Feb 2009 14:44:32 GMT
Hello again.
Doesn´t anybody have a solution to my problem?
I don´t know if maybe theres something I need to clarify.

The engine sends "messages" that are java objects that I in the (?????) part
translates to somethin on the form that the ApacheEngine wants.
What I don´t understand is what I should do with the "context" and
"evauator" in my model, can I work around it somehow?

best regards

On Tue, Feb 17, 2009 at 1:52 PM, Linda Erlenhov <>wrote:

> Hello
> I have just begun using the Apache SCXML  and I have encountered a problem.
> This is what already is:
> I have an editor for HMI. You build the interfaces using modules and then
> connects to actions and events in a databas and this is then run by another
> engine that sends events/actions (for some strange reasond they are named
> the "wrong" way in this program, i didn´t build it so...) to a CD player or
> whatever through a protocol via an interface.
> My job:
>  is to build a simulator for the "cd-player" part. The" tricky" is that it
> should be generic, so that the client can build whatever kind of machine he
> or she wants to.
> I have created a graphical interface with GMF in eclipse where you can
> build statemachines with the help of "modules" representing states,
> transitions etc. This generates a XML representation of  the statemachine
> once it´s finished and then that is translated into SCXML. So far so good.
> so what we have here now is HMIeditor <-> DB <-> Engine <-> protocol
> (??????) <-> Apache engine<->SCXML<->XML <-> my editor for statecharts.
> All the functions (actions, events etc.) of the "cd-player" is described in
> a XML file wich both the HMI editor and my editor uses so I can put them on
> any form I want to and I have knowledge in what the HMIeditorengine "does"
> to the data.
> This is what I think is the problem (above shown as (??????)):
> Between the apache engine and the protocol ther should be an interface
> (duh). My interface there should start up both engines and then (i think)
> listen to two buffers (i´m thinking two threads), my interface takes care of
> the translation from the protocol data look to the ApacheEngines data look.
> I just don´t undstand now how I should start up the Apache engine. I don't
> understand what i need the context and evaluator and so on for, the things
> that the apache engine recieves should be on the form it wants?
> Or have I just misunderstood?
> I hope someone understands something of what my problem is.
> best regards
> //Linda

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message