Hi,

I am not sure if there is any documentation around this. Here is a brief
explanation on how it works.

The Bpel file is first loaded into a BOM ( Bpel Object Model) which is a
wrapper over the xml DOM tree of the bpel file, this forms the part of the
process definition. This BOM is then converted into the OModel which is
used by the bpel runtime. The OModel is serialized to the file system with
the file extension .cbp

I would recommend you to have a look at below class which is the starting
point of compilation process.

org.apache.ode.bpel.compiler.BpelC

public void compile(File bpelFile, long version) throws
CompilationException, IOException {

1: bpelFile is read and the intermediate BOM object is created.
2: Based on the version of the BPEL a specific compiler is instantiated and
used to create the OModel. There are generator classes which are mapped to
the Object type of the BOM, that are responsible to create the associated
OModel type.
3: Finally the OModel is serialised to the file system

}

regards,
sathwik

On Fri, Mar 22, 2013 at 7:01 PM, 王雷 <mail.lei.w...@gmail.com> wrote:

> hi,
>
>
>
>     I am implementing an software module. It transforms BPEL processes into
> Petri-Nets. I want to implement the intermediate representation of BPEL
> processes based on Apache ODE object model. Is there any documentation
> specifies the details of API about ODE's Object model? e. g. How compiler
> reads BPEL files and how to use the information of BPEL process from the
> compiled OBject model? Thanks a lot.
>
>
>
>
>     Best Regards
>
>
>
>              Lei Wang
>

Reply via email to