Hi Experts,
I have a XML docment that contains a process description.
What I want to do is to create a process engine. The XML document should be used as input to this engine.
What I am looking for is a way to take care of the structure of the XML document and transfer it into a
Java structure.
There is three steps to perform:
1. Send the XML document into the engine as input
2. Parse/compile the XML into Java objects and initiates the process.
3. The client calls the process and start it.
So I'm looking for a way to parse/compile XML into a equivalent Java structure. Specially I have a problem with how I can take care of the sequence in the process and transfer it into a Java structure, the process steps, so the client can call the process and get the process executed in the right way with the help of the Java structure.
Like this:
I know of the DOM, SAX and more parsers, so it's a bit further than that I'm thinking about.
Is there any known ways to do this?
Regards
Tom