Re: Ode source code modification

2008-08-29 Thread Giorgio M.
Il giorno gio, 28/08/2008 alle 15.10 -0700, Matthieu Riou ha scritto: > On Thu, Aug 28, 2008 at 9:00 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > > > Thanks a lot Matthieu, i saw you are an ODE developer!! > > > > And so is Tammo :) Very nice, who can help me better then you ?! lol > > > > Please,

Re: Ode source code modification

2008-08-29 Thread Giorgio M.
Il giorno gio, 28/08/2008 alle 15.10 -0700, Matthieu Riou ha scritto: > On Thu, Aug 28, 2008 at 9:00 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > > > Thanks a lot Matthieu, i saw you are an ODE developer!! > > > > And so is Tammo :) Very nice, who can help me better then you ?! lol > > > > Please,

Re: Ode source code modification

2008-08-28 Thread Matthieu Riou
On Thu, Aug 28, 2008 at 10:04 AM, Tammo van Lessen <[EMAIL PROTECTED]>wrote: > Matthieu Riou wrote: > > On Thu, Aug 28, 2008 at 6:55 AM, Giorgio M. <[EMAIL PROTECTED] > >wrote: > > > >> Ok, hence can i use interceptor in order to capture a service invocation > >> message? i mean, can i capture sin

Re: Ode source code modification

2008-08-28 Thread Matthieu Riou
On Thu, Aug 28, 2008 at 9:00 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > Thanks a lot Matthieu, i saw you are an ODE developer!! > And so is Tammo :) > > Please, could you be more precise in your explanation? > > - how can i subclass the ODEServer? it's just a class and it's not > extendible.

Re: Ode source code modification

2008-08-28 Thread Tammo van Lessen
Paul Brown wrote: > > On Aug 28, 2008, at 10:04 AM, Tammo van Lessen wrote: >> Apropos, is there a reason why we don't use dependency injection? I >> think it would ease such configuration issues a lot, though it would >> require quite huge refactorings. > > You mean use Spring or Guice or some s

Re: Ode source code modification

2008-08-28 Thread Paul Brown
On Aug 28, 2008, at 10:04 AM, Tammo van Lessen wrote: Apropos, is there a reason why we don't use dependency injection? I think it would ease such configuration issues a lot, though it would require quite huge refactorings. You mean use Spring or Guice or some such? I'd give Spring a -1 just

Re: Ode source code modification

2008-08-28 Thread Tammo van Lessen
Matthieu Riou wrote: > On Thu, Aug 28, 2008 at 6:55 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > >> Ok, hence can i use interceptor in order to capture a service invocation >> message? i mean, can i capture single atomic service start event (that >> compose with the other service the process) instea

Re: Ode source code modification

2008-08-28 Thread Giorgio M.
Thanks a lot Matthieu, i saw you are an ODE developer!! Please, could you be more precise in your explanation? - how can i subclass the ODEServer? it's just a class and it's not extendible. - about the alternative: how can i build an Axis2 module?and what have i do with this module?? - The messag

Re: Ode source code modification

2008-08-28 Thread Matthieu Riou
On Thu, Aug 28, 2008 at 6:55 AM, Giorgio M. <[EMAIL PROTECTED]>wrote: > Ok, hence can i use interceptor in order to capture a service invocation > message? i mean, can i capture single atomic service start event (that > compose with the other service the process) instead of the more generic > proc

Re: Ode source code modification

2008-08-28 Thread Giorgio M.
Ok, hence can i use interceptor in order to capture a service invocation message? i mean, can i capture single atomic service start event (that compose with the other service the process) instead of the more generic process start event? I need to intercept every single invocation (every single invo

Re: Ode source code modification

2008-08-28 Thread Tammo van Lessen
You don't have to compile ODE but you have to compile your java class. If you use the Axis2 deployment of Ode you can simply add your class/jar file to ode's WEB-INF/classes or WEB-INF/libs directory respectively. Your classes are then included in the classpath and can be referenced within Ode. Be

Re: Ode source code modification

2008-08-28 Thread Giorgio M.
Hi Tammo, thanks very much for your response, i'm going to look at the classes you've advised to me. I try to be more detailed about my issue: is there a way to attach a java class to the ODE (without compile it) that is called everytime each service (that compose the BPEL process) is called for

Re: Ode source code modification

2008-08-28 Thread Tammo van Lessen
Hi Giorgio, you could have a look at BpelEventListener.java and MessageExchangeInterceptor.java as a starting point if you want to get notified by execution events or want to intercept message exchanges. See also [1] and [2]. HTH, Tammo [1]http://ode.apache.org/user-guide.html#UserGuide-ODEEx