On 9/20/07, Noel J. Bergman <[EMAIL PROTECTED]> wrote: > What if Ode had a simple language that mapped directly to BPEL for flow > control (those BPEL operations you listed), but invoked a scripting > language, e.g., via BSF, for message manipulation?
That is essentially what BPEL has now with extensibility for query and expression languages. (http://tinyurl.com/yrws9t) We just need the better syntax to wrap things in... > I am assuming that you have already considered allowing Java to be used for > the purpose, too. > > process HelloWorld { > client.receive => request > var replyVar = java:MyClass.StaticMethod(request) > client.reply <= replyVar > } This isn't a bad idea, but it brings up a lot of potential questions -- 1) Do we allow people to manipulate threads, transactions, sockets, etc. in that method? What about blocking or timing issues? (As is, ODE can context switch during an external invocation, even a synchronous one, and I suppose that we could do the same thing if we modeled apparent Java inlining as an invoke of sorts...) 2) To what extent is the class tied/versioned with the process? You can Google BPELJ if you're curious about one take on integrating Java into BPEL. -- Paul
