It seems to me we need to support two types of Axis2 relationships:
        - axis2 on top
        - synapse on top

In the first case a module will work fine. In the 2nd case, Synapse
needs to take charge and create the Axis2 runtime as it feels like. (Or
not for that matter; as the design of Synapse does not mandate Axis2.)

Actually even in the first case, don't we need to be able to work
differently depending on whether we're in a servlet world (where axis2
is on top of synapse but axis2 is itself not right at the top) or in a
standalone axis2 world? I guess a module should work for all those
cases.

Sanjiva.

On Thu, 2006-05-11 at 08:14 +0100, Paul Fremantle wrote:
> Deepal
> 
> I agree. In fact I think it fits the model we have moved to in the
> mean time really well.
> 
> Paul
> 
> On 5/10/06, Deepal jayasinghe <[EMAIL PROTECTED]> wrote:
>         Hi Asankha ;
>         
>         Adding an observer is one way of getting access to Axis2 when
>         it is 
>         initialized. But the actual task or the design principle of an
>         Axis2
>         observer is bit different from what you are going to do. Its
>         true that
>         observer is initialized at the time if Axis2 initialized and
>         at that
>         point you can do Synapse related stuff.
>         
>         In the long term perspective I think , it will be great if you
>         do this
>         with a module. As I remember when we were developing one of
>         synapse
>         prototype (I think second one)  we had a module which dose all
>         the 
>         synapse initialization logic. I know in the future you are
>         going to have
>         many more features and having an observer you can not
>         correctly achieve
>         all of them. So in the first phase just add a module w.o any
>         handler , 
>         and dont forget to add Module impl class.
>         
>         just a suggestion from Axis2 point of view :)
>         
>         Paul Fremantle wrote:
>         
>         > Asankha
>         >
>         > The classloader is used by the Spring extension.
>         >
>         > I think it would be good to load Synapse on Axis2 start.
>         >
>         > Paul
>         >
>         >
>         >
>         >
>         > On 5/10/06, * Asankha C. Perera* <[EMAIL PROTECTED]
>         > <mailto: [EMAIL PROTECTED]>> wrote:
>         >
>         >     Right now Synapse initializes itself on the receipt of
>         the first
>         >     message.. If we write an Axis2 Interceptor and register
>         this with 
>         >     Axis2,
>         >     then we could initialize Synapse at the same time as
>         Axis2. Is this
>         >     something we may want to implement?
>         >
>         >     Also.. I was thinking about the reference to a
>         classloader currently 
>         >     held in the SynapseEnvironment.. which is not used right
>         now.. can I
>         >     remove it safely or is it kept there for a reason?
>         >
>         >     thanks
>         >     asankha
>         >
>         >
>         >
>         --------------------------------------------------------------------- 
>         >     To unsubscribe, e-mail:
>         [EMAIL PROTECTED]
>         >     <mailto:[EMAIL PROTECTED]>
>         >     For additional commands, e-mail:
>         [EMAIL PROTECTED]
>         >     <mailto:[EMAIL PROTECTED]>
>         >
>         >
>         >
>         >
>         > --
>         > Paul Fremantle
>         > VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>         >
>         > http://bloglines.com/blog/paulfremantle
>         > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>         >
>         > "Oxygenating the Web Service Platform", www.wso2.com
>         <http://www.wso2.com>
>         
>         
>         
>         --
>         Thanks,
>         Deepal
>         ................................................................
>         ~Future is Open~
>         
>         
>         
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail: [EMAIL PROTECTED]
>         For additional commands, e-mail:
>         [EMAIL PROTECTED]
>         
> 
> 
> 
> -- 
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
> 
> http://bloglines.com/blog/paulfremantle
> [EMAIL PROTECTED]
> 
> "Oxygenating the Web Service Platform", www.wso2.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to