Hi list,

Trying to find a way to introduce BPEL4People callbacks to the current BPEL compiler in Ode.

So this would possibly implies:
- a new BPEL20WithPeopleCompiler class that would extend BPELCompiler
- a new WSDLFactoryBPEL20WithPeople class that would implement WSDLFactory4BPEL
- Some modifications to the BpelC class to handle those new classes
- extensions to the XPath compiler, as proposed by the people spec
(- and quite a few others changes, but trying to limit the scope right now)

Given that the BPEL4People spec is an extension to BPEL, it looks to me kind of orthogonal to what is currently done to implement the bpel specs. So, if a new BPEL spec comes out (say 3.0) and the extension for people is still there, that requires to duplicate the code quite a bit.

Would it be better for example to take a BPEL compiler implementation as a parameter to some kind of newInstance() method call ?
Something like:
        Bpel4People.newInstance(BPEL20Compiler)

What do think ? What would be the better approach ?

Thanks you in advance for any ideas or pointers,

Niko,



Reply via email to