You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by Amila Suriarachchi <am...@gmail.com> on 2010/04/01 07:23:02 UTC

Re: Axis2-Spring integration

On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen
<an...@gmail.com>wrote:

> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
> andreas.veithen@gmail.com>
> > wrote:
> >>
> >> All,
> >>
> >> Recently there have been some questions and discussions about Spring
> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
> >> WSO2 has developed a framework that provides Axis2-Spring integration
> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
> >> but this has not yet been released. In [1] I argue that neither of
> >> these two frameworks provide a definite solution and Sagara actually
> >> agrees with my analysis.
> >
> > I also agree with your analysis :) but let me tell something about it as
> one
> > of the initial designer of wsf/spring.
> >
> > As I learned about the spring (two years ago) it promotes a way to write
> the
> > business logic as POJOs and managed them using spring framework. Spring
> > provides functionalities to let these business methods to access data
> layer
> > and expose them as web applications. But you can test the business logic
> > without being depending on the data layer or web layer as they are
> written
> > as POJOs.
> >
> > The idea of the wsf/spring was to let people expose these POJOs as web
> > services. For this it uses RPCMessage receiver, schema generator and some
> > utility methods of axis2-spring. So some of the new features you have
> > mentioned was not considered by that time as well.
> >
> >
> >>
> >> On my side, after writing my review and in
> >> reaction to [3], I wrote some PoC code to explore how some of my wish
> >> list items could be implemented. This code is available at [7]. I
> >> would also like to mention the interesting contributions made by
> >> Stephan van Hugten, who opened [3]. I would really like to see him
> >> continuing to contribute.
> >>
> >> After discussion with Sagara, we decided to join our efforts under the
> >> umbrella of the Axis2 project.
> >
> > Can we do this? According to apache rules I think it has to start an
> > incubator project. I am +1 on starting as axis project :)
> >
> > For me the ideal place is in the spring code base itself. As I remember
> this
> > is where the cxf/xfire spring integrations lies. Since this is a feature
> for
> > spring users it would give a better visibility to axis2 as well.
>
> The intention is indeed to make this a module of Axis2, so that an
> up-to-date version is part of every upcoming Axis2 release.
>

If this is an independent project then it can have independent releases
based on some
released Axis2 version. This allows to have more related spring features and
release frequently.


>
> >
> >>
> >> Probably what you will see happening in
> >> the next days is that Sagara will bring the existing Axis2M Spring
> >> code into a sandbox area in Axis2 [8] and that we will start a
> >> discussion about how to best merge our two codebases (which for the
> >> moment address different parts of the problem) into a single one.
> >
> > Although wsf/spring has short commings that you have pointed out, it
> > describes a better possible way of integrating Axis2 into a spring
> container
> > (I think this could be the reason for forking Axis2M from wsf/spring as
> > mentioned in the your blog). And also it supports ws security as well.
> > Therefore it would be easy to start from the wsf/spring and gradually
> > improve it to suite for new requirement would be an easy approach.
> >
> > So would like to propose to start with wsf/spring. Further Axis2M has
> forked
> > from wsf/spring and it has go bak to use axis2.xml as well.
>
> If everybody proposes his own code as a starting point, we will get
> nowhere. I think we should start from scratch, and then as we progress
> through the different areas we want to cover, take over those
> components from the three codebases that fit well into the
> architecture, discarding those that need to be redesigned. Anyway I
> think that both WSF/Spring and Axis2M share an architectural flaw that
> will make it difficult to support the standalone (non servlet) case
> and Spring at the client side.


What do you mean by the standalone method? Are you thinking of integrating
with
existing axis2-spring integration?


> I will provide an analysis of this
> issue later.
>
> We should also establish a list of the requirements and goals that we
> want to achieve, so that everybody has the same vision of where we go.
> Probably a Wiki is a good place to write this down. I think, a new
> Wiki for the Axis project has been created recently.
>

+1.

thanks,
Amila.

>
> >> I think that everybody agrees that it will be beneficial for Axis2 to
> >> provide a good Spring integration out of the box. Of course, this is
> >> also the right moment to look for involvement of others in the
> >> community (developers and end users). I you want to help shaping the
> >> solution, please participate in discussions, provide scenarios that
> >> you would like to see supported, make suggestions, contribute code or
> >> simply test the code.
> >
> > From the given features list I really like the idea of servlet + jaxws +
> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
> > this has some issues with performance and support lists maps etc. So if
> we
> > can solve these issues with jaxws message receiver or a new message
> receiver
> > based on jaxb while supporing jaxws it would be a really advantage of the
> > user point of view. IMHO for a normal user the performance and the
> > complexity level of the POJOs that we can support is also very important.
>
> I think that once the infrastructure is correctly in place, supporting
> JAX-WS doesn't require any new stuff, just plumbing code. Everything
> is already in place in the existing JAX-WS deployer. But it is
> probably too early to start discussing this question.
>
> > thanks,
> > Amila.
> >>
> >> Andreas
> >>
> >> [1]
> >>
> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
> >> [5] http://wso2.org/projects/wsf/spring
> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
> >> [7]
> >>
> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
> >> [8] Note that Sagara was part of the bunch of committers we recently
> >> voted into the new Axis TLP.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, Apr 1, 2010 at 11:06 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>>> <am...@gmail.com> wrote:
>>> >
>>> >
>>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>>> andreas.veithen@gmail.com>
>>> > wrote:
>>> >>
>>> >> All,
>>> >>
>>> >> Recently there have been some questions and discussions about Spring
>>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>>> >> but this has not yet been released. In [1] I argue that neither of
>>> >> these two frameworks provide a definite solution and Sagara actually
>>> >> agrees with my analysis.
>>> >
>>> > I also agree with your analysis :) but let me tell something about it
>>> as one
>>> > of the initial designer of wsf/spring.
>>> >
>>> > As I learned about the spring (two years ago) it promotes a way to
>>> write the
>>> > business logic as POJOs and managed them using spring framework. Spring
>>> > provides functionalities to let these business methods to access data
>>> layer
>>> > and expose them as web applications. But you can test the business
>>> logic
>>> > without being depending on the data layer or web layer as they are
>>> written
>>> > as POJOs.
>>> >
>>> > The idea of the wsf/spring was to let people expose these POJOs as web
>>> > services. For this it uses RPCMessage receiver, schema generator and
>>> some
>>> > utility methods of axis2-spring. So some of the new features you have
>>> > mentioned was not considered by that time as well.
>>> >
>>> >
>>> >>
>>> >> On my side, after writing my review and in
>>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>>> >> list items could be implemented. This code is available at [7]. I
>>> >> would also like to mention the interesting contributions made by
>>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>>> >> continuing to contribute.
>>> >>
>>> >> After discussion with Sagara, we decided to join our efforts under the
>>> >> umbrella of the Axis2 project.
>>> >
>>> > Can we do this? According to apache rules I think it has to start an
>>> > incubator project. I am +1 on starting as axis project :)
>>> >
>>> > For me the ideal place is in the spring code base itself. As I remember
>>> this
>>> > is where the cxf/xfire spring integrations lies. Since this is a
>>> feature for
>>> > spring users it would give a better visibility to axis2 as well.
>>>
>>> The intention is indeed to make this a module of Axis2, so that an
>>> up-to-date version is part of every upcoming Axis2 release.
>>>
>>
>> If this is an independent project then it can have independent releases
>> based on some
>> released Axis2 version. This allows to have more related spring features
>> and release frequently.
>>
>
We could follow the Rampart/Sandesha model in here. WDYT?

>
>>
>>>
>>> >
>>> >>
>>> >> Probably what you will see happening in
>>> >> the next days is that Sagara will bring the existing Axis2M Spring
>>> >> code into a sandbox area in Axis2 [8] and that we will start a
>>> >> discussion about how to best merge our two codebases (which for the
>>> >> moment address different parts of the problem) into a single one.
>>> >
>>> > Although wsf/spring has short commings that you have pointed out, it
>>> > describes a better possible way of integrating Axis2 into a spring
>>> container
>>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>>> > mentioned in the your blog). And also it supports ws security as well.
>>> > Therefore it would be easy to start from the wsf/spring and gradually
>>> > improve it to suite for new requirement would be an easy approach.
>>> >
>>> > So would like to propose to start with wsf/spring. Further Axis2M has
>>> forked
>>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>>
>>> If everybody proposes his own code as a starting point, we will get
>>> nowhere. I think we should start from scratch, and then as we progress
>>> through the different areas we want to cover, take over those
>>> components from the three codebases that fit well into the
>>> architecture, discarding those that need to be redesigned. Anyway I
>>> think that both WSF/Spring and Axis2M share an architectural flaw that
>>> will make it difficult to support the standalone (non servlet) case
>>> and Spring at the client side.
>>
>>
>> What do you mean by the standalone method? Are you thinking of integrating
>> with
>> existing axis2-spring integration?
>>
>>
>>> I will provide an analysis of this
>>> issue later.
>>>
>>> We should also establish a list of the requirements and goals that we
>>> want to achieve, so that everybody has the same vision of where we go.
>>> Probably a Wiki is a good place to write this down. I think, a new
>>> Wiki for the Axis project has been created recently.
>>>
>>
>> +1.
>>
>
> +1
>

+1.

Thanks,
Senaka.

>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>



-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"

Re: Axis2-Spring integration

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, Apr 1, 2010 at 11:06 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>>> <am...@gmail.com> wrote:
>>> >
>>> >
>>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>>> andreas.veithen@gmail.com>
>>> > wrote:
>>> >>
>>> >> All,
>>> >>
>>> >> Recently there have been some questions and discussions about Spring
>>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>>> >> but this has not yet been released. In [1] I argue that neither of
>>> >> these two frameworks provide a definite solution and Sagara actually
>>> >> agrees with my analysis.
>>> >
>>> > I also agree with your analysis :) but let me tell something about it
>>> as one
>>> > of the initial designer of wsf/spring.
>>> >
>>> > As I learned about the spring (two years ago) it promotes a way to
>>> write the
>>> > business logic as POJOs and managed them using spring framework. Spring
>>> > provides functionalities to let these business methods to access data
>>> layer
>>> > and expose them as web applications. But you can test the business
>>> logic
>>> > without being depending on the data layer or web layer as they are
>>> written
>>> > as POJOs.
>>> >
>>> > The idea of the wsf/spring was to let people expose these POJOs as web
>>> > services. For this it uses RPCMessage receiver, schema generator and
>>> some
>>> > utility methods of axis2-spring. So some of the new features you have
>>> > mentioned was not considered by that time as well.
>>> >
>>> >
>>> >>
>>> >> On my side, after writing my review and in
>>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>>> >> list items could be implemented. This code is available at [7]. I
>>> >> would also like to mention the interesting contributions made by
>>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>>> >> continuing to contribute.
>>> >>
>>> >> After discussion with Sagara, we decided to join our efforts under the
>>> >> umbrella of the Axis2 project.
>>> >
>>> > Can we do this? According to apache rules I think it has to start an
>>> > incubator project. I am +1 on starting as axis project :)
>>> >
>>> > For me the ideal place is in the spring code base itself. As I remember
>>> this
>>> > is where the cxf/xfire spring integrations lies. Since this is a
>>> feature for
>>> > spring users it would give a better visibility to axis2 as well.
>>>
>>> The intention is indeed to make this a module of Axis2, so that an
>>> up-to-date version is part of every upcoming Axis2 release.
>>>
>>
>> If this is an independent project then it can have independent releases
>> based on some
>> released Axis2 version. This allows to have more related spring features
>> and release frequently.
>>
>
We could follow the Rampart/Sandesha model in here. WDYT?

>
>>
>>>
>>> >
>>> >>
>>> >> Probably what you will see happening in
>>> >> the next days is that Sagara will bring the existing Axis2M Spring
>>> >> code into a sandbox area in Axis2 [8] and that we will start a
>>> >> discussion about how to best merge our two codebases (which for the
>>> >> moment address different parts of the problem) into a single one.
>>> >
>>> > Although wsf/spring has short commings that you have pointed out, it
>>> > describes a better possible way of integrating Axis2 into a spring
>>> container
>>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>>> > mentioned in the your blog). And also it supports ws security as well.
>>> > Therefore it would be easy to start from the wsf/spring and gradually
>>> > improve it to suite for new requirement would be an easy approach.
>>> >
>>> > So would like to propose to start with wsf/spring. Further Axis2M has
>>> forked
>>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>>
>>> If everybody proposes his own code as a starting point, we will get
>>> nowhere. I think we should start from scratch, and then as we progress
>>> through the different areas we want to cover, take over those
>>> components from the three codebases that fit well into the
>>> architecture, discarding those that need to be redesigned. Anyway I
>>> think that both WSF/Spring and Axis2M share an architectural flaw that
>>> will make it difficult to support the standalone (non servlet) case
>>> and Spring at the client side.
>>
>>
>> What do you mean by the standalone method? Are you thinking of integrating
>> with
>> existing axis2-spring integration?
>>
>>
>>> I will provide an analysis of this
>>> issue later.
>>>
>>> We should also establish a list of the requirements and goals that we
>>> want to achieve, so that everybody has the same vision of where we go.
>>> Probably a Wiki is a good place to write this down. I think, a new
>>> Wiki for the Axis project has been created recently.
>>>
>>
>> +1.
>>
>
> +1
>

+1.

Thanks,
Senaka.

>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>



-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"

Re: Axis2-Spring integration

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, Apr 1, 2010 at 11:06 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>>> <am...@gmail.com> wrote:
>>> >
>>> >
>>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>>> andreas.veithen@gmail.com>
>>> > wrote:
>>> >>
>>> >> All,
>>> >>
>>> >> Recently there have been some questions and discussions about Spring
>>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>>> >> but this has not yet been released. In [1] I argue that neither of
>>> >> these two frameworks provide a definite solution and Sagara actually
>>> >> agrees with my analysis.
>>> >
>>> > I also agree with your analysis :) but let me tell something about it
>>> as one
>>> > of the initial designer of wsf/spring.
>>> >
>>> > As I learned about the spring (two years ago) it promotes a way to
>>> write the
>>> > business logic as POJOs and managed them using spring framework. Spring
>>> > provides functionalities to let these business methods to access data
>>> layer
>>> > and expose them as web applications. But you can test the business
>>> logic
>>> > without being depending on the data layer or web layer as they are
>>> written
>>> > as POJOs.
>>> >
>>> > The idea of the wsf/spring was to let people expose these POJOs as web
>>> > services. For this it uses RPCMessage receiver, schema generator and
>>> some
>>> > utility methods of axis2-spring. So some of the new features you have
>>> > mentioned was not considered by that time as well.
>>> >
>>> >
>>> >>
>>> >> On my side, after writing my review and in
>>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>>> >> list items could be implemented. This code is available at [7]. I
>>> >> would also like to mention the interesting contributions made by
>>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>>> >> continuing to contribute.
>>> >>
>>> >> After discussion with Sagara, we decided to join our efforts under the
>>> >> umbrella of the Axis2 project.
>>> >
>>> > Can we do this? According to apache rules I think it has to start an
>>> > incubator project. I am +1 on starting as axis project :)
>>> >
>>> > For me the ideal place is in the spring code base itself. As I remember
>>> this
>>> > is where the cxf/xfire spring integrations lies. Since this is a
>>> feature for
>>> > spring users it would give a better visibility to axis2 as well.
>>>
>>> The intention is indeed to make this a module of Axis2, so that an
>>> up-to-date version is part of every upcoming Axis2 release.
>>>
>>
>> If this is an independent project then it can have independent releases
>> based on some
>> released Axis2 version. This allows to have more related spring features
>> and release frequently.
>>
>
We could follow the Rampart/Sandesha model in here. WDYT?

>
>>
>>>
>>> >
>>> >>
>>> >> Probably what you will see happening in
>>> >> the next days is that Sagara will bring the existing Axis2M Spring
>>> >> code into a sandbox area in Axis2 [8] and that we will start a
>>> >> discussion about how to best merge our two codebases (which for the
>>> >> moment address different parts of the problem) into a single one.
>>> >
>>> > Although wsf/spring has short commings that you have pointed out, it
>>> > describes a better possible way of integrating Axis2 into a spring
>>> container
>>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>>> > mentioned in the your blog). And also it supports ws security as well.
>>> > Therefore it would be easy to start from the wsf/spring and gradually
>>> > improve it to suite for new requirement would be an easy approach.
>>> >
>>> > So would like to propose to start with wsf/spring. Further Axis2M has
>>> forked
>>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>>
>>> If everybody proposes his own code as a starting point, we will get
>>> nowhere. I think we should start from scratch, and then as we progress
>>> through the different areas we want to cover, take over those
>>> components from the three codebases that fit well into the
>>> architecture, discarding those that need to be redesigned. Anyway I
>>> think that both WSF/Spring and Axis2M share an architectural flaw that
>>> will make it difficult to support the standalone (non servlet) case
>>> and Spring at the client side.
>>
>>
>> What do you mean by the standalone method? Are you thinking of integrating
>> with
>> existing axis2-spring integration?
>>
>>
>>> I will provide an analysis of this
>>> issue later.
>>>
>>> We should also establish a list of the requirements and goals that we
>>> want to achieve, so that everybody has the same vision of where we go.
>>> Probably a Wiki is a good place to write this down. I think, a new
>>> Wiki for the Axis project has been created recently.
>>>
>>
>> +1.
>>
>
> +1
>

+1.

Thanks,
Senaka.

>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>



-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"

Re: Axis2-Spring integration

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, Apr 1, 2010 at 11:06 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>>> <am...@gmail.com> wrote:
>>> >
>>> >
>>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>>> andreas.veithen@gmail.com>
>>> > wrote:
>>> >>
>>> >> All,
>>> >>
>>> >> Recently there have been some questions and discussions about Spring
>>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>>> >> but this has not yet been released. In [1] I argue that neither of
>>> >> these two frameworks provide a definite solution and Sagara actually
>>> >> agrees with my analysis.
>>> >
>>> > I also agree with your analysis :) but let me tell something about it
>>> as one
>>> > of the initial designer of wsf/spring.
>>> >
>>> > As I learned about the spring (two years ago) it promotes a way to
>>> write the
>>> > business logic as POJOs and managed them using spring framework. Spring
>>> > provides functionalities to let these business methods to access data
>>> layer
>>> > and expose them as web applications. But you can test the business
>>> logic
>>> > without being depending on the data layer or web layer as they are
>>> written
>>> > as POJOs.
>>> >
>>> > The idea of the wsf/spring was to let people expose these POJOs as web
>>> > services. For this it uses RPCMessage receiver, schema generator and
>>> some
>>> > utility methods of axis2-spring. So some of the new features you have
>>> > mentioned was not considered by that time as well.
>>> >
>>> >
>>> >>
>>> >> On my side, after writing my review and in
>>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>>> >> list items could be implemented. This code is available at [7]. I
>>> >> would also like to mention the interesting contributions made by
>>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>>> >> continuing to contribute.
>>> >>
>>> >> After discussion with Sagara, we decided to join our efforts under the
>>> >> umbrella of the Axis2 project.
>>> >
>>> > Can we do this? According to apache rules I think it has to start an
>>> > incubator project. I am +1 on starting as axis project :)
>>> >
>>> > For me the ideal place is in the spring code base itself. As I remember
>>> this
>>> > is where the cxf/xfire spring integrations lies. Since this is a
>>> feature for
>>> > spring users it would give a better visibility to axis2 as well.
>>>
>>> The intention is indeed to make this a module of Axis2, so that an
>>> up-to-date version is part of every upcoming Axis2 release.
>>>
>>
>> If this is an independent project then it can have independent releases
>> based on some
>> released Axis2 version. This allows to have more related spring features
>> and release frequently.
>>
>
We could follow the Rampart/Sandesha model in here. WDYT?

>
>>
>>>
>>> >
>>> >>
>>> >> Probably what you will see happening in
>>> >> the next days is that Sagara will bring the existing Axis2M Spring
>>> >> code into a sandbox area in Axis2 [8] and that we will start a
>>> >> discussion about how to best merge our two codebases (which for the
>>> >> moment address different parts of the problem) into a single one.
>>> >
>>> > Although wsf/spring has short commings that you have pointed out, it
>>> > describes a better possible way of integrating Axis2 into a spring
>>> container
>>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>>> > mentioned in the your blog). And also it supports ws security as well.
>>> > Therefore it would be easy to start from the wsf/spring and gradually
>>> > improve it to suite for new requirement would be an easy approach.
>>> >
>>> > So would like to propose to start with wsf/spring. Further Axis2M has
>>> forked
>>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>>
>>> If everybody proposes his own code as a starting point, we will get
>>> nowhere. I think we should start from scratch, and then as we progress
>>> through the different areas we want to cover, take over those
>>> components from the three codebases that fit well into the
>>> architecture, discarding those that need to be redesigned. Anyway I
>>> think that both WSF/Spring and Axis2M share an architectural flaw that
>>> will make it difficult to support the standalone (non servlet) case
>>> and Spring at the client side.
>>
>>
>> What do you mean by the standalone method? Are you thinking of integrating
>> with
>> existing axis2-spring integration?
>>
>>
>>> I will provide an analysis of this
>>> issue later.
>>>
>>> We should also establish a list of the requirements and goals that we
>>> want to achieve, so that everybody has the same vision of where we go.
>>> Probably a Wiki is a good place to write this down. I think, a new
>>> Wiki for the Axis project has been created recently.
>>>
>>
>> +1.
>>
>
> +1
>

+1.

Thanks,
Senaka.

>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>



-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"

Re: Axis2-Spring integration

Posted by Senaka Fernando <se...@wso2.com>.
On Thu, Apr 1, 2010 at 11:06 AM, Samisa Abeysinghe <
samisa.abeysinghe@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
>> andreas.veithen@gmail.com> wrote:
>>
>>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>>> <am...@gmail.com> wrote:
>>> >
>>> >
>>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>>> andreas.veithen@gmail.com>
>>> > wrote:
>>> >>
>>> >> All,
>>> >>
>>> >> Recently there have been some questions and discussions about Spring
>>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>>> >> but this has not yet been released. In [1] I argue that neither of
>>> >> these two frameworks provide a definite solution and Sagara actually
>>> >> agrees with my analysis.
>>> >
>>> > I also agree with your analysis :) but let me tell something about it
>>> as one
>>> > of the initial designer of wsf/spring.
>>> >
>>> > As I learned about the spring (two years ago) it promotes a way to
>>> write the
>>> > business logic as POJOs and managed them using spring framework. Spring
>>> > provides functionalities to let these business methods to access data
>>> layer
>>> > and expose them as web applications. But you can test the business
>>> logic
>>> > without being depending on the data layer or web layer as they are
>>> written
>>> > as POJOs.
>>> >
>>> > The idea of the wsf/spring was to let people expose these POJOs as web
>>> > services. For this it uses RPCMessage receiver, schema generator and
>>> some
>>> > utility methods of axis2-spring. So some of the new features you have
>>> > mentioned was not considered by that time as well.
>>> >
>>> >
>>> >>
>>> >> On my side, after writing my review and in
>>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>>> >> list items could be implemented. This code is available at [7]. I
>>> >> would also like to mention the interesting contributions made by
>>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>>> >> continuing to contribute.
>>> >>
>>> >> After discussion with Sagara, we decided to join our efforts under the
>>> >> umbrella of the Axis2 project.
>>> >
>>> > Can we do this? According to apache rules I think it has to start an
>>> > incubator project. I am +1 on starting as axis project :)
>>> >
>>> > For me the ideal place is in the spring code base itself. As I remember
>>> this
>>> > is where the cxf/xfire spring integrations lies. Since this is a
>>> feature for
>>> > spring users it would give a better visibility to axis2 as well.
>>>
>>> The intention is indeed to make this a module of Axis2, so that an
>>> up-to-date version is part of every upcoming Axis2 release.
>>>
>>
>> If this is an independent project then it can have independent releases
>> based on some
>> released Axis2 version. This allows to have more related spring features
>> and release frequently.
>>
>
We could follow the Rampart/Sandesha model in here. WDYT?

>
>>
>>>
>>> >
>>> >>
>>> >> Probably what you will see happening in
>>> >> the next days is that Sagara will bring the existing Axis2M Spring
>>> >> code into a sandbox area in Axis2 [8] and that we will start a
>>> >> discussion about how to best merge our two codebases (which for the
>>> >> moment address different parts of the problem) into a single one.
>>> >
>>> > Although wsf/spring has short commings that you have pointed out, it
>>> > describes a better possible way of integrating Axis2 into a spring
>>> container
>>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>>> > mentioned in the your blog). And also it supports ws security as well.
>>> > Therefore it would be easy to start from the wsf/spring and gradually
>>> > improve it to suite for new requirement would be an easy approach.
>>> >
>>> > So would like to propose to start with wsf/spring. Further Axis2M has
>>> forked
>>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>>
>>> If everybody proposes his own code as a starting point, we will get
>>> nowhere. I think we should start from scratch, and then as we progress
>>> through the different areas we want to cover, take over those
>>> components from the three codebases that fit well into the
>>> architecture, discarding those that need to be redesigned. Anyway I
>>> think that both WSF/Spring and Axis2M share an architectural flaw that
>>> will make it difficult to support the standalone (non servlet) case
>>> and Spring at the client side.
>>
>>
>> What do you mean by the standalone method? Are you thinking of integrating
>> with
>> existing axis2-spring integration?
>>
>>
>>> I will provide an analysis of this
>>> issue later.
>>>
>>> We should also establish a list of the requirements and goals that we
>>> want to achieve, so that everybody has the same vision of where we go.
>>> Probably a Wiki is a good place to write this down. I think, a new
>>> Wiki for the Axis project has been created recently.
>>>
>>
>> +1.
>>
>
> +1
>

+1.

Thanks,
Senaka.

>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>



-- 
Senaka Fernando
Software Engineer
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

RE: Axis2-Spring integration

Posted by Martin Gainty <mg...@hotmail.com>.
thanks to andre for this essential howto on spring integration!

 

i ran a quick test (using pojoguidespring/META-INF/services.xml) for WeatherSpringService (here is the descriptor)

 

  <service name="WeatherSpringService">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="ServiceClass" >sample.spring.service.WeatherSpringService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >weatherSpringService</parameter>
...

 </service>

 

package org.apache.axis2.extensions.spring.receivers;

public class SpringServletContextObjectSupplier implements ServiceObjectSupplier {

   public static final String SERVICE_SPRING_BEANNAME = "SpringBeanName";

    public Object getServiceObject(AxisService axisService) throws AxisFault {
        try {
            // Name of spring aware bean to be injected, taken from services.xml
            // via 'SERVICE_SPRING_BEANNAME ' . The Bean and its properties are pre-configured
            // as normally done in a spring type of way and subsequently loaded by Spring.
            // Axis2 just assumes that the bean is configured and is in the classloader.
            Parameter implBeanParam = axisService.getParameter(SERVICE_SPRING_BEANNAME);
            String beanName = ((String)implBeanParam.getValue()).trim();
            if (beanName != null) {
                Parameter servletConfigParam = axisService.getAxisConfiguration()
                        .getParameter(HTTPConstants.HTTP_SERVLETCONFIG);

                if (servletConfigParam == null) {
                    throw new Exception("Axis2 Can't find ServletConfigParameter");
                }


org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier getServiceObject method gacks looking for 

transport.http.servletConfig


any ideas to supply this transport.http.servletConfig parameter are/will be greatly appreciated.

Thanks,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: andreas.veithen@gmail.com
> Date: Fri, 2 Apr 2010 12:46:44 +0200
> Subject: Re: Axis2-Spring integration
> To: java-dev@axis.apache.org
> 
> On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> > wrote:
> >>
> >> One last message with java-user in copy: I've created a page on our
> >> brand new Wiki:
> >>
> >> http://wiki.apache.org/axis/Axis2Spring
> >>
> >> Please feel free to edit and add your ideas.
> >
> > Thanks Andreas for creating the wiki an initiating the this work.
> >
> > Let me put my view and suggestion first before directly editing the wiki.
> >
> > Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> > users spring beans initialised by the spring framework rather than
> > initialising itself. In otherwords it acks as another plugin[1] to spring
> > container.
> >
> >  Why this is important? Indikas' question gives the answer. Spring beans
> > have all the features available with the spring container and additionally
> > webservice support.
> >
> > We can do this by using existing axis2-spring support by using
> > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> > but the configuration is done by using same axis2 xml files.
> >
> > The proposed project let users to do that as spring configuration files as
> > well. But still transports, modules and all manged by Axis2 runtime.
> >
> > So I suggest first paragraph should some thing like this.
> >
> > The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> > beans initialized by the Spring container) while keeping the configuration
> > also witin the spring beans. This is different from the scenario supported
> > by the existing axis2-spring module, which addresses the scenario of
> > implementing a service using Spring, while all the configurations are done
> > using axis2 xml files and initialize the spring beans by itself.
> 
> As I wrote in my blog post, I personally prefer to have everything
> inside Spring. However, I agree with Sagara that some people may
> prefer to keep using the traditional axis2.xml file. From what I've
> seen so far, it is fairly easy to support both approaches. If we can
> give the user the option to choose between the two approaches while
> still keeping the architecture simple, then we should not restrict
> ourselves to a single option.
> 
> >
> > I am not still clear about the stanalone mode. If we assume that as letting
> > someone to start the simple axis2 server
> > with a spring bean support configuration (i.e configurations in axis2.xml
> > services.xml) this is not related to the orignal goal.
> 
> Just to be clear: standalone means scenarios that don't use a servlet
> container, or at least that don't use the AxisServlet transport. This
> may be a plain Java application that uses Spring, either with
> SimpleHTTPServer or e.g. only the JMS transport. It may also be an
> application that doesn't use any transport listener, but that is only
> a Web service client. Or it may be an OSGi bundle implemented with
> Spring...
> 
> Probably for everyone the priority of supporting this is different,
> but again, if we can do it without making the architecture complex, we
> should support it. As my PoC code shows, it is actually extremely easy
> to support this. The only thing that is needed is to create and start
> a ListenerManager in the application context.
> 
> > thanks,
> > Amila.
> >
> > [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
> >>
> >> Andreas
> >>
> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> >> > Quick comment, folks - do we really need to be cc'ing java-user for this
> >> > conversation?  If people are interested to this level, I would think
> >> > they
> >> > would already be on java-dev.
> >> >
> >> > --G
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

RE: Axis2-Spring integration

Posted by Martin Gainty <mg...@hotmail.com>.
thanks to andre for this essential howto on spring integration!

 

i ran a quick test (using pojoguidespring/META-INF/services.xml) for WeatherSpringService (here is the descriptor)

 

  <service name="WeatherSpringService">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="ServiceClass" >sample.spring.service.WeatherSpringService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >weatherSpringService</parameter>
...

 </service>

 

package org.apache.axis2.extensions.spring.receivers;

public class SpringServletContextObjectSupplier implements ServiceObjectSupplier {

   public static final String SERVICE_SPRING_BEANNAME = "SpringBeanName";

    public Object getServiceObject(AxisService axisService) throws AxisFault {
        try {
            // Name of spring aware bean to be injected, taken from services.xml
            // via 'SERVICE_SPRING_BEANNAME ' . The Bean and its properties are pre-configured
            // as normally done in a spring type of way and subsequently loaded by Spring.
            // Axis2 just assumes that the bean is configured and is in the classloader.
            Parameter implBeanParam = axisService.getParameter(SERVICE_SPRING_BEANNAME);
            String beanName = ((String)implBeanParam.getValue()).trim();
            if (beanName != null) {
                Parameter servletConfigParam = axisService.getAxisConfiguration()
                        .getParameter(HTTPConstants.HTTP_SERVLETCONFIG);

                if (servletConfigParam == null) {
                    throw new Exception("Axis2 Can't find ServletConfigParameter");
                }


org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier getServiceObject method gacks looking for 

transport.http.servletConfig


any ideas to supply this transport.http.servletConfig parameter are/will be greatly appreciated.

Thanks,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: andreas.veithen@gmail.com
> Date: Fri, 2 Apr 2010 12:46:44 +0200
> Subject: Re: Axis2-Spring integration
> To: java-dev@axis.apache.org
> 
> On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> > wrote:
> >>
> >> One last message with java-user in copy: I've created a page on our
> >> brand new Wiki:
> >>
> >> http://wiki.apache.org/axis/Axis2Spring
> >>
> >> Please feel free to edit and add your ideas.
> >
> > Thanks Andreas for creating the wiki an initiating the this work.
> >
> > Let me put my view and suggestion first before directly editing the wiki.
> >
> > Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> > users spring beans initialised by the spring framework rather than
> > initialising itself. In otherwords it acks as another plugin[1] to spring
> > container.
> >
> >  Why this is important? Indikas' question gives the answer. Spring beans
> > have all the features available with the spring container and additionally
> > webservice support.
> >
> > We can do this by using existing axis2-spring support by using
> > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> > but the configuration is done by using same axis2 xml files.
> >
> > The proposed project let users to do that as spring configuration files as
> > well. But still transports, modules and all manged by Axis2 runtime.
> >
> > So I suggest first paragraph should some thing like this.
> >
> > The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> > beans initialized by the Spring container) while keeping the configuration
> > also witin the spring beans. This is different from the scenario supported
> > by the existing axis2-spring module, which addresses the scenario of
> > implementing a service using Spring, while all the configurations are done
> > using axis2 xml files and initialize the spring beans by itself.
> 
> As I wrote in my blog post, I personally prefer to have everything
> inside Spring. However, I agree with Sagara that some people may
> prefer to keep using the traditional axis2.xml file. From what I've
> seen so far, it is fairly easy to support both approaches. If we can
> give the user the option to choose between the two approaches while
> still keeping the architecture simple, then we should not restrict
> ourselves to a single option.
> 
> >
> > I am not still clear about the stanalone mode. If we assume that as letting
> > someone to start the simple axis2 server
> > with a spring bean support configuration (i.e configurations in axis2.xml
> > services.xml) this is not related to the orignal goal.
> 
> Just to be clear: standalone means scenarios that don't use a servlet
> container, or at least that don't use the AxisServlet transport. This
> may be a plain Java application that uses Spring, either with
> SimpleHTTPServer or e.g. only the JMS transport. It may also be an
> application that doesn't use any transport listener, but that is only
> a Web service client. Or it may be an OSGi bundle implemented with
> Spring...
> 
> Probably for everyone the priority of supporting this is different,
> but again, if we can do it without making the architecture complex, we
> should support it. As my PoC code shows, it is actually extremely easy
> to support this. The only thing that is needed is to create and start
> a ListenerManager in the application context.
> 
> > thanks,
> > Amila.
> >
> > [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
> >>
> >> Andreas
> >>
> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> >> > Quick comment, folks - do we really need to be cc'ing java-user for this
> >> > conversation?  If people are interested to this level, I would think
> >> > they
> >> > would already be on java-dev.
> >> >
> >> > --G
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

RE: Axis2-Spring integration

Posted by Martin Gainty <mg...@hotmail.com>.
thanks to andre for this essential howto on spring integration!

 

i ran a quick test (using pojoguidespring/META-INF/services.xml) for WeatherSpringService (here is the descriptor)

 

  <service name="WeatherSpringService">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="ServiceClass" >sample.spring.service.WeatherSpringService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >weatherSpringService</parameter>
...

 </service>

 

package org.apache.axis2.extensions.spring.receivers;

public class SpringServletContextObjectSupplier implements ServiceObjectSupplier {

   public static final String SERVICE_SPRING_BEANNAME = "SpringBeanName";

    public Object getServiceObject(AxisService axisService) throws AxisFault {
        try {
            // Name of spring aware bean to be injected, taken from services.xml
            // via 'SERVICE_SPRING_BEANNAME ' . The Bean and its properties are pre-configured
            // as normally done in a spring type of way and subsequently loaded by Spring.
            // Axis2 just assumes that the bean is configured and is in the classloader.
            Parameter implBeanParam = axisService.getParameter(SERVICE_SPRING_BEANNAME);
            String beanName = ((String)implBeanParam.getValue()).trim();
            if (beanName != null) {
                Parameter servletConfigParam = axisService.getAxisConfiguration()
                        .getParameter(HTTPConstants.HTTP_SERVLETCONFIG);

                if (servletConfigParam == null) {
                    throw new Exception("Axis2 Can't find ServletConfigParameter");
                }


org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier getServiceObject method gacks looking for 

transport.http.servletConfig


any ideas to supply this transport.http.servletConfig parameter are/will be greatly appreciated.

Thanks,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: andreas.veithen@gmail.com
> Date: Fri, 2 Apr 2010 12:46:44 +0200
> Subject: Re: Axis2-Spring integration
> To: java-dev@axis.apache.org
> 
> On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> > wrote:
> >>
> >> One last message with java-user in copy: I've created a page on our
> >> brand new Wiki:
> >>
> >> http://wiki.apache.org/axis/Axis2Spring
> >>
> >> Please feel free to edit and add your ideas.
> >
> > Thanks Andreas for creating the wiki an initiating the this work.
> >
> > Let me put my view and suggestion first before directly editing the wiki.
> >
> > Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> > users spring beans initialised by the spring framework rather than
> > initialising itself. In otherwords it acks as another plugin[1] to spring
> > container.
> >
> >  Why this is important? Indikas' question gives the answer. Spring beans
> > have all the features available with the spring container and additionally
> > webservice support.
> >
> > We can do this by using existing axis2-spring support by using
> > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> > but the configuration is done by using same axis2 xml files.
> >
> > The proposed project let users to do that as spring configuration files as
> > well. But still transports, modules and all manged by Axis2 runtime.
> >
> > So I suggest first paragraph should some thing like this.
> >
> > The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> > beans initialized by the Spring container) while keeping the configuration
> > also witin the spring beans. This is different from the scenario supported
> > by the existing axis2-spring module, which addresses the scenario of
> > implementing a service using Spring, while all the configurations are done
> > using axis2 xml files and initialize the spring beans by itself.
> 
> As I wrote in my blog post, I personally prefer to have everything
> inside Spring. However, I agree with Sagara that some people may
> prefer to keep using the traditional axis2.xml file. From what I've
> seen so far, it is fairly easy to support both approaches. If we can
> give the user the option to choose between the two approaches while
> still keeping the architecture simple, then we should not restrict
> ourselves to a single option.
> 
> >
> > I am not still clear about the stanalone mode. If we assume that as letting
> > someone to start the simple axis2 server
> > with a spring bean support configuration (i.e configurations in axis2.xml
> > services.xml) this is not related to the orignal goal.
> 
> Just to be clear: standalone means scenarios that don't use a servlet
> container, or at least that don't use the AxisServlet transport. This
> may be a plain Java application that uses Spring, either with
> SimpleHTTPServer or e.g. only the JMS transport. It may also be an
> application that doesn't use any transport listener, but that is only
> a Web service client. Or it may be an OSGi bundle implemented with
> Spring...
> 
> Probably for everyone the priority of supporting this is different,
> but again, if we can do it without making the architecture complex, we
> should support it. As my PoC code shows, it is actually extremely easy
> to support this. The only thing that is needed is to create and start
> a ListenerManager in the application context.
> 
> > thanks,
> > Amila.
> >
> > [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
> >>
> >> Andreas
> >>
> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> >> > Quick comment, folks - do we really need to be cc'ing java-user for this
> >> > conversation?  If people are interested to this level, I would think
> >> > they
> >> > would already be on java-dev.
> >> >
> >> > --G
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

RE: Axis2-Spring integration

Posted by Martin Gainty <mg...@hotmail.com>.
thanks to andre for this essential howto on spring integration!

 

i ran a quick test (using pojoguidespring/META-INF/services.xml) for WeatherSpringService (here is the descriptor)

 

  <service name="WeatherSpringService">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="ServiceClass" >sample.spring.service.WeatherSpringService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >weatherSpringService</parameter>
...

 </service>

 

package org.apache.axis2.extensions.spring.receivers;

public class SpringServletContextObjectSupplier implements ServiceObjectSupplier {

   public static final String SERVICE_SPRING_BEANNAME = "SpringBeanName";

    public Object getServiceObject(AxisService axisService) throws AxisFault {
        try {
            // Name of spring aware bean to be injected, taken from services.xml
            // via 'SERVICE_SPRING_BEANNAME ' . The Bean and its properties are pre-configured
            // as normally done in a spring type of way and subsequently loaded by Spring.
            // Axis2 just assumes that the bean is configured and is in the classloader.
            Parameter implBeanParam = axisService.getParameter(SERVICE_SPRING_BEANNAME);
            String beanName = ((String)implBeanParam.getValue()).trim();
            if (beanName != null) {
                Parameter servletConfigParam = axisService.getAxisConfiguration()
                        .getParameter(HTTPConstants.HTTP_SERVLETCONFIG);

                if (servletConfigParam == null) {
                    throw new Exception("Axis2 Can't find ServletConfigParameter");
                }


org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier getServiceObject method gacks looking for 

transport.http.servletConfig


any ideas to supply this transport.http.servletConfig parameter are/will be greatly appreciated.

Thanks,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: andreas.veithen@gmail.com
> Date: Fri, 2 Apr 2010 12:46:44 +0200
> Subject: Re: Axis2-Spring integration
> To: java-dev@axis.apache.org
> 
> On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> > wrote:
> >>
> >> One last message with java-user in copy: I've created a page on our
> >> brand new Wiki:
> >>
> >> http://wiki.apache.org/axis/Axis2Spring
> >>
> >> Please feel free to edit and add your ideas.
> >
> > Thanks Andreas for creating the wiki an initiating the this work.
> >
> > Let me put my view and suggestion first before directly editing the wiki.
> >
> > Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> > users spring beans initialised by the spring framework rather than
> > initialising itself. In otherwords it acks as another plugin[1] to spring
> > container.
> >
> >  Why this is important? Indikas' question gives the answer. Spring beans
> > have all the features available with the spring container and additionally
> > webservice support.
> >
> > We can do this by using existing axis2-spring support by using
> > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> > but the configuration is done by using same axis2 xml files.
> >
> > The proposed project let users to do that as spring configuration files as
> > well. But still transports, modules and all manged by Axis2 runtime.
> >
> > So I suggest first paragraph should some thing like this.
> >
> > The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> > beans initialized by the Spring container) while keeping the configuration
> > also witin the spring beans. This is different from the scenario supported
> > by the existing axis2-spring module, which addresses the scenario of
> > implementing a service using Spring, while all the configurations are done
> > using axis2 xml files and initialize the spring beans by itself.
> 
> As I wrote in my blog post, I personally prefer to have everything
> inside Spring. However, I agree with Sagara that some people may
> prefer to keep using the traditional axis2.xml file. From what I've
> seen so far, it is fairly easy to support both approaches. If we can
> give the user the option to choose between the two approaches while
> still keeping the architecture simple, then we should not restrict
> ourselves to a single option.
> 
> >
> > I am not still clear about the stanalone mode. If we assume that as letting
> > someone to start the simple axis2 server
> > with a spring bean support configuration (i.e configurations in axis2.xml
> > services.xml) this is not related to the orignal goal.
> 
> Just to be clear: standalone means scenarios that don't use a servlet
> container, or at least that don't use the AxisServlet transport. This
> may be a plain Java application that uses Spring, either with
> SimpleHTTPServer or e.g. only the JMS transport. It may also be an
> application that doesn't use any transport listener, but that is only
> a Web service client. Or it may be an OSGi bundle implemented with
> Spring...
> 
> Probably for everyone the priority of supporting this is different,
> but again, if we can do it without making the architecture complex, we
> should support it. As my PoC code shows, it is actually extremely easy
> to support this. The only thing that is needed is to create and start
> a ListenerManager in the application context.
> 
> > thanks,
> > Amila.
> >
> > [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
> >>
> >> Andreas
> >>
> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> >> > Quick comment, folks - do we really need to be cc'ing java-user for this
> >> > conversation?  If people are interested to this level, I would think
> >> > they
> >> > would already be on java-dev.
> >> >
> >> > --G
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

RE: Axis2-Spring integration

Posted by Martin Gainty <mg...@hotmail.com>.
thanks to andre for this essential howto on spring integration!

 

i ran a quick test (using pojoguidespring/META-INF/services.xml) for WeatherSpringService (here is the descriptor)

 

  <service name="WeatherSpringService">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="ServiceClass" >sample.spring.service.WeatherSpringService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >weatherSpringService</parameter>
...

 </service>

 

package org.apache.axis2.extensions.spring.receivers;

public class SpringServletContextObjectSupplier implements ServiceObjectSupplier {

   public static final String SERVICE_SPRING_BEANNAME = "SpringBeanName";

    public Object getServiceObject(AxisService axisService) throws AxisFault {
        try {
            // Name of spring aware bean to be injected, taken from services.xml
            // via 'SERVICE_SPRING_BEANNAME ' . The Bean and its properties are pre-configured
            // as normally done in a spring type of way and subsequently loaded by Spring.
            // Axis2 just assumes that the bean is configured and is in the classloader.
            Parameter implBeanParam = axisService.getParameter(SERVICE_SPRING_BEANNAME);
            String beanName = ((String)implBeanParam.getValue()).trim();
            if (beanName != null) {
                Parameter servletConfigParam = axisService.getAxisConfiguration()
                        .getParameter(HTTPConstants.HTTP_SERVLETCONFIG);

                if (servletConfigParam == null) {
                    throw new Exception("Axis2 Can't find ServletConfigParameter");
                }


org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier getServiceObject method gacks looking for 

transport.http.servletConfig


any ideas to supply this transport.http.servletConfig parameter are/will be greatly appreciated.

Thanks,
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.



 

> From: andreas.veithen@gmail.com
> Date: Fri, 2 Apr 2010 12:46:44 +0200
> Subject: Re: Axis2-Spring integration
> To: java-dev@axis.apache.org
> 
> On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
> <am...@gmail.com> wrote:
> >
> >
> > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> > wrote:
> >>
> >> One last message with java-user in copy: I've created a page on our
> >> brand new Wiki:
> >>
> >> http://wiki.apache.org/axis/Axis2Spring
> >>
> >> Please feel free to edit and add your ideas.
> >
> > Thanks Andreas for creating the wiki an initiating the this work.
> >
> > Let me put my view and suggestion first before directly editing the wiki.
> >
> > Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> > users spring beans initialised by the spring framework rather than
> > initialising itself. In otherwords it acks as another plugin[1] to spring
> > container.
> >
> >  Why this is important? Indikas' question gives the answer. Spring beans
> > have all the features available with the spring container and additionally
> > webservice support.
> >
> > We can do this by using existing axis2-spring support by using
> > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> > but the configuration is done by using same axis2 xml files.
> >
> > The proposed project let users to do that as spring configuration files as
> > well. But still transports, modules and all manged by Axis2 runtime.
> >
> > So I suggest first paragraph should some thing like this.
> >
> > The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> > beans initialized by the Spring container) while keeping the configuration
> > also witin the spring beans. This is different from the scenario supported
> > by the existing axis2-spring module, which addresses the scenario of
> > implementing a service using Spring, while all the configurations are done
> > using axis2 xml files and initialize the spring beans by itself.
> 
> As I wrote in my blog post, I personally prefer to have everything
> inside Spring. However, I agree with Sagara that some people may
> prefer to keep using the traditional axis2.xml file. From what I've
> seen so far, it is fairly easy to support both approaches. If we can
> give the user the option to choose between the two approaches while
> still keeping the architecture simple, then we should not restrict
> ourselves to a single option.
> 
> >
> > I am not still clear about the stanalone mode. If we assume that as letting
> > someone to start the simple axis2 server
> > with a spring bean support configuration (i.e configurations in axis2.xml
> > services.xml) this is not related to the orignal goal.
> 
> Just to be clear: standalone means scenarios that don't use a servlet
> container, or at least that don't use the AxisServlet transport. This
> may be a plain Java application that uses Spring, either with
> SimpleHTTPServer or e.g. only the JMS transport. It may also be an
> application that doesn't use any transport listener, but that is only
> a Web service client. Or it may be an OSGi bundle implemented with
> Spring...
> 
> Probably for everyone the priority of supporting this is different,
> but again, if we can do it without making the architecture complex, we
> should support it. As my PoC code shows, it is actually extremely easy
> to support this. The only thing that is needed is to create and start
> a ListenerManager in the application context.
> 
> > thanks,
> > Amila.
> >
> > [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
> >>
> >> Andreas
> >>
> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> >> > Quick comment, folks - do we really need to be cc'ing java-user for this
> >> > conversation?  If people are interested to this level, I would think
> >> > they
> >> > would already be on java-dev.
> >> >
> >> > --G
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> >> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Amila Suriarachchi
> > WSO2 Inc.
> > blog: http://amilachinthaka.blogspot.com/
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
> 
 		 	   		  
_________________________________________________________________
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> beans initialized by the Spring container) while keeping the configuration
> also witin the spring beans. This is different from the scenario supported
> by the existing axis2-spring module, which addresses the scenario of
> implementing a service using Spring, while all the configurations are done
> using axis2 xml files and initialize the spring beans by itself.

As I wrote in my blog post, I personally prefer to have everything
inside Spring. However, I agree with Sagara that some people may
prefer to keep using the traditional axis2.xml file. From what I've
seen so far, it is fairly easy to support both approaches. If we can
give the user the option to choose between the two approaches while
still keeping the architecture simple, then we should not restrict
ourselves to a single option.

>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.

Just to be clear: standalone means scenarios that don't use a servlet
container, or at least that don't use the AxisServlet transport. This
may be a plain Java application that uses Spring, either with
SimpleHTTPServer or e.g. only the JMS transport. It may also be an
application that doesn't use any transport listener, but that is only
a Web service client. Or it may be an OSGi bundle implemented with
Spring...

Probably for everyone the priority of supporting this is different,
but again, if we can do it without making the architecture complex, we
should support it. As my PoC code shows, it is actually extremely easy
to support this. The only thing that is needed is to create and start
a ListenerManager in the application context.

> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Apr 2, 2010 at 12:12 PM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <andreas.veithen@gmail.com
> > wrote:
>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>

 My question is why this is not important ?  Let me explain,  We have very
broad community one requirement can be very important to some one  while it
is not much important to some one else . I 'm highly involve with Spring
based development for last 3 years and this is a very important feature to
me, and I believe I'm not the only one with this requirement , Some people
move into different WS-stacks because lack of this feature. As you may know
one of the longstanding criticism about Axis2 it it's lack of Spring
support  [1] [2] [3] . As for now Axis2 is very matured project and there is
no large scale development happening, so if people are willing to implement
this feature it going to be a value added feature for Axis2 and get rid of
criticism about Axis2 Spring support .
Some of the framework developers facilitate to utilize their framework
features within the Spring context one of the good example out of the WS
stack is Castor/Spring integration [6], [7] that targeting spring
developers.

 Some frameworks are designed to be configured and work within the Spring
context through the bean definition file Apache Camel [8] and CXF [9] are
some of the examples. Some frameworks use a native approach to configure
and  assemble internal components , further some frameworks provide both of
these options as an example SCA spec defined as Java component
implementation[10] and Spring component implementation[11]. Axis2 use native
approach  but alternative spring based approach also a good addition to the
project.


I don't think Spring-WS is a replacement for Axis2 or CXF  [4] ,[5] if you
can spend some time with Spring-WS you will realize it.




>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>


 This what provide by the current axis2-spring module and this is a
different use case I don't have a problem about the usability of this use
case.



>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where
> Axis2 is embedded inside Spring (i.e. where the Axis2 runtime uses the
> spring beans initialized by the Spring container) while keeping the
> configuration also witin the spring beans. This is different from the
> scenario supported by the existing axis2-spring module, which addresses the
> scenario of implementing a service using Spring, while all the
> configurations are done using axis2 xml files and initialize the spring
> beans by itself.
>

 +1 , this make it much clear.




  [1] - http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF
  [2] - http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
  [3] -
http://www.theserverside.com/news/1363958/Axis-Axis2-and-CXF-Surveying-the-WS-Landscape
  [4] - http://forum.springsource.org/showthread.php?t=60263
  [5] -
http://stackoverflow.com/questions/297033/which-framework-is-better-cxf-or-spring-ws
  [6] - http://www.castor.org/spring-xml-intro.html
  [7] - http://www.castor.org/spring-orm-integration.html
  [8] - http://camel.apache.org/spring.html
  [9] - http://cxf.apache.org/docs/configuration.html
  [10] -
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.pdf?version=1
  [12] -
http://www.osoa.org/download/attachments/35/SCA_SpringComponentImplementationSpecification-V100.pdf?version=1

thanks,


>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.
>
> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> beans initialized by the Spring container) while keeping the configuration
> also witin the spring beans. This is different from the scenario supported
> by the existing axis2-spring module, which addresses the scenario of
> implementing a service using Spring, while all the configurations are done
> using axis2 xml files and initialize the spring beans by itself.

As I wrote in my blog post, I personally prefer to have everything
inside Spring. However, I agree with Sagara that some people may
prefer to keep using the traditional axis2.xml file. From what I've
seen so far, it is fairly easy to support both approaches. If we can
give the user the option to choose between the two approaches while
still keeping the architecture simple, then we should not restrict
ourselves to a single option.

>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.

Just to be clear: standalone means scenarios that don't use a servlet
container, or at least that don't use the AxisServlet transport. This
may be a plain Java application that uses Spring, either with
SimpleHTTPServer or e.g. only the JMS transport. It may also be an
application that doesn't use any transport listener, but that is only
a Web service client. Or it may be an OSGi bundle implemented with
Spring...

Probably for everyone the priority of supporting this is different,
but again, if we can do it without making the architecture complex, we
should support it. As my PoC code shows, it is actually extremely easy
to support this. The only thing that is needed is to create and start
a ListenerManager in the application context.

> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> beans initialized by the Spring container) while keeping the configuration
> also witin the spring beans. This is different from the scenario supported
> by the existing axis2-spring module, which addresses the scenario of
> implementing a service using Spring, while all the configurations are done
> using axis2 xml files and initialize the spring beans by itself.

As I wrote in my blog post, I personally prefer to have everything
inside Spring. However, I agree with Sagara that some people may
prefer to keep using the traditional axis2.xml file. From what I've
seen so far, it is fairly easy to support both approaches. If we can
give the user the option to choose between the two approaches while
still keeping the architecture simple, then we should not restrict
ourselves to a single option.

>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.

Just to be clear: standalone means scenarios that don't use a servlet
container, or at least that don't use the AxisServlet transport. This
may be a plain Java application that uses Spring, either with
SimpleHTTPServer or e.g. only the JMS transport. It may also be an
application that doesn't use any transport listener, but that is only
a Web service client. Or it may be an OSGi bundle implemented with
Spring...

Probably for everyone the priority of supporting this is different,
but again, if we can do it without making the architecture complex, we
should support it. As my PoC code shows, it is actually extremely easy
to support this. The only thing that is needed is to create and start
a ListenerManager in the application context.

> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Apr 2, 2010 at 12:12 PM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <andreas.veithen@gmail.com
> > wrote:
>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>

 My question is why this is not important ?  Let me explain,  We have very
broad community one requirement can be very important to some one  while it
is not much important to some one else . I 'm highly involve with Spring
based development for last 3 years and this is a very important feature to
me, and I believe I'm not the only one with this requirement , Some people
move into different WS-stacks because lack of this feature. As you may know
one of the longstanding criticism about Axis2 it it's lack of Spring
support  [1] [2] [3] . As for now Axis2 is very matured project and there is
no large scale development happening, so if people are willing to implement
this feature it going to be a value added feature for Axis2 and get rid of
criticism about Axis2 Spring support .
Some of the framework developers facilitate to utilize their framework
features within the Spring context one of the good example out of the WS
stack is Castor/Spring integration [6], [7] that targeting spring
developers.

 Some frameworks are designed to be configured and work within the Spring
context through the bean definition file Apache Camel [8] and CXF [9] are
some of the examples. Some frameworks use a native approach to configure
and  assemble internal components , further some frameworks provide both of
these options as an example SCA spec defined as Java component
implementation[10] and Spring component implementation[11]. Axis2 use native
approach  but alternative spring based approach also a good addition to the
project.


I don't think Spring-WS is a replacement for Axis2 or CXF  [4] ,[5] if you
can spend some time with Spring-WS you will realize it.




>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>


 This what provide by the current axis2-spring module and this is a
different use case I don't have a problem about the usability of this use
case.



>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where
> Axis2 is embedded inside Spring (i.e. where the Axis2 runtime uses the
> spring beans initialized by the Spring container) while keeping the
> configuration also witin the spring beans. This is different from the
> scenario supported by the existing axis2-spring module, which addresses the
> scenario of implementing a service using Spring, while all the
> configurations are done using axis2 xml files and initialize the spring
> beans by itself.
>

 +1 , this make it much clear.




  [1] - http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF
  [2] - http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
  [3] -
http://www.theserverside.com/news/1363958/Axis-Axis2-and-CXF-Surveying-the-WS-Landscape
  [4] - http://forum.springsource.org/showthread.php?t=60263
  [5] -
http://stackoverflow.com/questions/297033/which-framework-is-better-cxf-or-spring-ws
  [6] - http://www.castor.org/spring-xml-intro.html
  [7] - http://www.castor.org/spring-orm-integration.html
  [8] - http://camel.apache.org/spring.html
  [9] - http://cxf.apache.org/docs/configuration.html
  [10] -
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.pdf?version=1
  [12] -
http://www.osoa.org/download/attachments/35/SCA_SpringComponentImplementationSpecification-V100.pdf?version=1

thanks,


>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.
>
> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> beans initialized by the Spring container) while keeping the configuration
> also witin the spring beans. This is different from the scenario supported
> by the existing axis2-spring module, which addresses the scenario of
> implementing a service using Spring, while all the configurations are done
> using axis2 xml files and initialize the spring beans by itself.

As I wrote in my blog post, I personally prefer to have everything
inside Spring. However, I agree with Sagara that some people may
prefer to keep using the traditional axis2.xml file. From what I've
seen so far, it is fairly easy to support both approaches. If we can
give the user the option to choose between the two approaches while
still keeping the architecture simple, then we should not restrict
ourselves to a single option.

>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.

Just to be clear: standalone means scenarios that don't use a servlet
container, or at least that don't use the AxisServlet transport. This
may be a plain Java application that uses Spring, either with
SimpleHTTPServer or e.g. only the JMS transport. It may also be an
application that doesn't use any transport listener, but that is only
a Web service client. Or it may be an OSGi bundle implemented with
Spring...

Probably for everyone the priority of supporting this is different,
but again, if we can do it without making the architecture complex, we
should support it. As my PoC code shows, it is actually extremely easy
to support this. The only thing that is needed is to create and start
a ListenerManager in the application context.

> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Apr 2, 2010 at 12:12 PM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <andreas.veithen@gmail.com
> > wrote:
>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>

 My question is why this is not important ?  Let me explain,  We have very
broad community one requirement can be very important to some one  while it
is not much important to some one else . I 'm highly involve with Spring
based development for last 3 years and this is a very important feature to
me, and I believe I'm not the only one with this requirement , Some people
move into different WS-stacks because lack of this feature. As you may know
one of the longstanding criticism about Axis2 it it's lack of Spring
support  [1] [2] [3] . As for now Axis2 is very matured project and there is
no large scale development happening, so if people are willing to implement
this feature it going to be a value added feature for Axis2 and get rid of
criticism about Axis2 Spring support .
Some of the framework developers facilitate to utilize their framework
features within the Spring context one of the good example out of the WS
stack is Castor/Spring integration [6], [7] that targeting spring
developers.

 Some frameworks are designed to be configured and work within the Spring
context through the bean definition file Apache Camel [8] and CXF [9] are
some of the examples. Some frameworks use a native approach to configure
and  assemble internal components , further some frameworks provide both of
these options as an example SCA spec defined as Java component
implementation[10] and Spring component implementation[11]. Axis2 use native
approach  but alternative spring based approach also a good addition to the
project.


I don't think Spring-WS is a replacement for Axis2 or CXF  [4] ,[5] if you
can spend some time with Spring-WS you will realize it.




>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>


 This what provide by the current axis2-spring module and this is a
different use case I don't have a problem about the usability of this use
case.



>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where
> Axis2 is embedded inside Spring (i.e. where the Axis2 runtime uses the
> spring beans initialized by the Spring container) while keeping the
> configuration also witin the spring beans. This is different from the
> scenario supported by the existing axis2-spring module, which addresses the
> scenario of implementing a service using Spring, while all the
> configurations are done using axis2 xml files and initialize the spring
> beans by itself.
>

 +1 , this make it much clear.




  [1] - http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF
  [2] - http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
  [3] -
http://www.theserverside.com/news/1363958/Axis-Axis2-and-CXF-Surveying-the-WS-Landscape
  [4] - http://forum.springsource.org/showthread.php?t=60263
  [5] -
http://stackoverflow.com/questions/297033/which-framework-is-better-cxf-or-spring-ws
  [6] - http://www.castor.org/spring-xml-intro.html
  [7] - http://www.castor.org/spring-orm-integration.html
  [8] - http://camel.apache.org/spring.html
  [9] - http://cxf.apache.org/docs/configuration.html
  [10] -
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.pdf?version=1
  [12] -
http://www.osoa.org/download/attachments/35/SCA_SpringComponentImplementationSpecification-V100.pdf?version=1

thanks,


>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.
>
> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Apr 2, 2010 at 12:12 PM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <andreas.veithen@gmail.com
> > wrote:
>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>

 My question is why this is not important ?  Let me explain,  We have very
broad community one requirement can be very important to some one  while it
is not much important to some one else . I 'm highly involve with Spring
based development for last 3 years and this is a very important feature to
me, and I believe I'm not the only one with this requirement , Some people
move into different WS-stacks because lack of this feature. As you may know
one of the longstanding criticism about Axis2 it it's lack of Spring
support  [1] [2] [3] . As for now Axis2 is very matured project and there is
no large scale development happening, so if people are willing to implement
this feature it going to be a value added feature for Axis2 and get rid of
criticism about Axis2 Spring support .
Some of the framework developers facilitate to utilize their framework
features within the Spring context one of the good example out of the WS
stack is Castor/Spring integration [6], [7] that targeting spring
developers.

 Some frameworks are designed to be configured and work within the Spring
context through the bean definition file Apache Camel [8] and CXF [9] are
some of the examples. Some frameworks use a native approach to configure
and  assemble internal components , further some frameworks provide both of
these options as an example SCA spec defined as Java component
implementation[10] and Spring component implementation[11]. Axis2 use native
approach  but alternative spring based approach also a good addition to the
project.


I don't think Spring-WS is a replacement for Axis2 or CXF  [4] ,[5] if you
can spend some time with Spring-WS you will realize it.




>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>


 This what provide by the current axis2-spring module and this is a
different use case I don't have a problem about the usability of this use
case.



>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where
> Axis2 is embedded inside Spring (i.e. where the Axis2 runtime uses the
> spring beans initialized by the Spring container) while keeping the
> configuration also witin the spring beans. This is different from the
> scenario supported by the existing axis2-spring module, which addresses the
> scenario of implementing a service using Spring, while all the
> configurations are done using axis2 xml files and initialize the spring
> beans by itself.
>

 +1 , this make it much clear.




  [1] - http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF
  [2] - http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
  [3] -
http://www.theserverside.com/news/1363958/Axis-Axis2-and-CXF-Surveying-the-WS-Landscape
  [4] - http://forum.springsource.org/showthread.php?t=60263
  [5] -
http://stackoverflow.com/questions/297033/which-framework-is-better-cxf-or-spring-ws
  [6] - http://www.castor.org/spring-xml-intro.html
  [7] - http://www.castor.org/spring-orm-integration.html
  [8] - http://camel.apache.org/spring.html
  [9] - http://cxf.apache.org/docs/configuration.html
  [10] -
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.pdf?version=1
  [12] -
http://www.osoa.org/download/attachments/35/SCA_SpringComponentImplementationSpecification-V100.pdf?version=1

thanks,


>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.
>
> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi
<am...@gmail.com> wrote:
>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where Axis2
> is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
> beans initialized by the Spring container) while keeping the configuration
> also witin the spring beans. This is different from the scenario supported
> by the existing axis2-spring module, which addresses the scenario of
> implementing a service using Spring, while all the configurations are done
> using axis2 xml files and initialize the spring beans by itself.

As I wrote in my blog post, I personally prefer to have everything
inside Spring. However, I agree with Sagara that some people may
prefer to keep using the traditional axis2.xml file. From what I've
seen so far, it is fairly easy to support both approaches. If we can
give the user the option to choose between the two approaches while
still keeping the architecture simple, then we should not restrict
ourselves to a single option.

>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.

Just to be clear: standalone means scenarios that don't use a servlet
container, or at least that don't use the AxisServlet transport. This
may be a plain Java application that uses Spring, either with
SimpleHTTPServer or e.g. only the JMS transport. It may also be an
application that doesn't use any transport listener, but that is only
a Web service client. Or it may be an OSGi bundle implemented with
Spring...

Probably for everyone the priority of supporting this is different,
but again, if we can do it without making the architecture complex, we
should support it. As my PoC code shows, it is actually extremely easy
to support this. The only thing that is needed is to create and start
a ListenerManager in the application context.

> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Fri, Apr 2, 2010 at 12:12 PM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <andreas.veithen@gmail.com
> > wrote:
>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>
> Thanks Andreas for creating the wiki an initiating the this work.
>
> Let me put my view and suggestion first before directly editing the wiki.
>
> Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
> users spring beans initialised by the spring framework rather than
> initialising itself. In otherwords it acks as another plugin[1] to spring
> container.
>
>  Why this is important? Indikas' question gives the answer. Spring beans
> have all the features available with the spring container and additionally
> webservice support.
>

 My question is why this is not important ?  Let me explain,  We have very
broad community one requirement can be very important to some one  while it
is not much important to some one else . I 'm highly involve with Spring
based development for last 3 years and this is a very important feature to
me, and I believe I'm not the only one with this requirement , Some people
move into different WS-stacks because lack of this feature. As you may know
one of the longstanding criticism about Axis2 it it's lack of Spring
support  [1] [2] [3] . As for now Axis2 is very matured project and there is
no large scale development happening, so if people are willing to implement
this feature it going to be a value added feature for Axis2 and get rid of
criticism about Axis2 Spring support .
Some of the framework developers facilitate to utilize their framework
features within the Spring context one of the good example out of the WS
stack is Castor/Spring integration [6], [7] that targeting spring
developers.

 Some frameworks are designed to be configured and work within the Spring
context through the bean definition file Apache Camel [8] and CXF [9] are
some of the examples. Some frameworks use a native approach to configure
and  assemble internal components , further some frameworks provide both of
these options as an example SCA spec defined as Java component
implementation[10] and Spring component implementation[11]. Axis2 use native
approach  but alternative spring based approach also a good addition to the
project.


I don't think Spring-WS is a replacement for Axis2 or CXF  [4] ,[5] if you
can spend some time with Spring-WS you will realize it.




>
> We can do this by using existing axis2-spring support by using
> org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
> but the configuration is done by using same axis2 xml files.
>


 This what provide by the current axis2-spring module and this is a
different use case I don't have a problem about the usability of this use
case.



>
> The proposed project let users to do that as spring configuration files as
> well. But still transports, modules and all manged by Axis2 runtime.
>
> So I suggest first paragraph should some thing like this.
>
> The goal is to provide Spring integration for Axis2 in scenarios where
> Axis2 is embedded inside Spring (i.e. where the Axis2 runtime uses the
> spring beans initialized by the Spring container) while keeping the
> configuration also witin the spring beans. This is different from the
> scenario supported by the existing axis2-spring module, which addresses the
> scenario of implementing a service using Spring, while all the
> configurations are done using axis2 xml files and initialize the spring
> beans by itself.
>

 +1 , this make it much clear.




  [1] - http://www.coderanch.com/t/224490/Web-Services/java/Axis-Vs-CXF
  [2] - http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
  [3] -
http://www.theserverside.com/news/1363958/Axis-Axis2-and-CXF-Surveying-the-WS-Landscape
  [4] - http://forum.springsource.org/showthread.php?t=60263
  [5] -
http://stackoverflow.com/questions/297033/which-framework-is-better-cxf-or-spring-ws
  [6] - http://www.castor.org/spring-xml-intro.html
  [7] - http://www.castor.org/spring-orm-integration.html
  [8] - http://camel.apache.org/spring.html
  [9] - http://cxf.apache.org/docs/configuration.html
  [10] -
http://www.osoa.org/download/attachments/35/SCA_JavaComponentImplementation_V100.pdf?version=1
  [12] -
http://www.osoa.org/download/attachments/35/SCA_SpringComponentImplementationSpecification-V100.pdf?version=1

thanks,


>
> I am not still clear about the stanalone mode. If we assume that as letting
> someone to start the simple axis2 server
> with a spring bean support configuration (i.e configurations in axis2.xml
> services.xml) this is not related to the orignal goal.
>
> thanks,
> Amila.
>
> [1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG
>
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
In my blog post I noted the following as a prerequisite for any
Axis2-Spring integration (but I didn't add that yet to the Wiki page):
"Support for dependency injection and proxying for all user supplied
objects: services, handlers, modules, password callbacks, etc." Here
"proxying" meant AOP support. I think that this is supported almost
out of the box, but we will have to validate that. From discussions on
the CXF mailing lists, I now that sometimes there are interferences
between annotation processing and bytecode enhancers (which are used
by Spring AOP for interface less proxies).

Andreas

On Fri, Apr 2, 2010 at 07:26, indika kumara <in...@gmail.com> wrote:
> That means, I can expose a Spring bean as a Web service and make it
> transactional using Spring AOP and transaction – same as 9.5.2. A first
> example in [1]. Then I can use axis2 WS-Security make the service secure.
>
> Thanks
>
> Indika
>
> [1]http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html
>
>
>
> On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>>
>> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
>> wrote:
>>>
>>> Please forgive me if I am asking an idiot question.  I do not have
>>> good knowledge about spring..
>>>
>>> I just want to get to know.
>>>
>>> Does this spring integration support to obtain any qualities offered
>>> by the Spring  (runtime system quality attributes , non runtime and
>>> architectural quality attributes) ? .. Simply I want to know whether
>>> after this integration, string’s support for transaction, cache,
>>> security, etc. inherently received by axis2.
>>>
>>> Will the new system support to leverage both Spring and Axis2
>>> architectures?
>>>
>> Essentially, this will be a Spring web app with Axis 2 embedded to handle
>> the web services part. So, all Spring attributes will be present.
>> WSF/Spring
>> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
>> effort put in to embed the full power of Axis2 inside Spring with support
>> for WS-*.
>>
>>>
>>> Thanks
>>>
>>> Indika
>>>
>>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>> >
>>> > One last message with java-user in copy: I've created a page on our
>>> > brand new Wiki:
>>> >
>>> > http://wiki.apache.org/axis/Axis2Spring
>>> >
>>> > Please feel free to edit and add your ideas.
>>> >
>>> > Andreas
>>> >
>>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>>> > wrote:
>>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>>> > > this
>>> > > conversation?  If people are interested to this level, I would think
>>> > > they
>>> > > would already be on java-dev.
>>> > >
>>> > > --G
>>> > >
>>> > > ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> > >
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
In my blog post I noted the following as a prerequisite for any
Axis2-Spring integration (but I didn't add that yet to the Wiki page):
"Support for dependency injection and proxying for all user supplied
objects: services, handlers, modules, password callbacks, etc." Here
"proxying" meant AOP support. I think that this is supported almost
out of the box, but we will have to validate that. From discussions on
the CXF mailing lists, I now that sometimes there are interferences
between annotation processing and bytecode enhancers (which are used
by Spring AOP for interface less proxies).

Andreas

On Fri, Apr 2, 2010 at 07:26, indika kumara <in...@gmail.com> wrote:
> That means, I can expose a Spring bean as a Web service and make it
> transactional using Spring AOP and transaction – same as 9.5.2. A first
> example in [1]. Then I can use axis2 WS-Security make the service secure.
>
> Thanks
>
> Indika
>
> [1]http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html
>
>
>
> On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>>
>> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
>> wrote:
>>>
>>> Please forgive me if I am asking an idiot question.  I do not have
>>> good knowledge about spring..
>>>
>>> I just want to get to know.
>>>
>>> Does this spring integration support to obtain any qualities offered
>>> by the Spring  (runtime system quality attributes , non runtime and
>>> architectural quality attributes) ? .. Simply I want to know whether
>>> after this integration, string’s support for transaction, cache,
>>> security, etc. inherently received by axis2.
>>>
>>> Will the new system support to leverage both Spring and Axis2
>>> architectures?
>>>
>> Essentially, this will be a Spring web app with Axis 2 embedded to handle
>> the web services part. So, all Spring attributes will be present.
>> WSF/Spring
>> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
>> effort put in to embed the full power of Axis2 inside Spring with support
>> for WS-*.
>>
>>>
>>> Thanks
>>>
>>> Indika
>>>
>>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>> >
>>> > One last message with java-user in copy: I've created a page on our
>>> > brand new Wiki:
>>> >
>>> > http://wiki.apache.org/axis/Axis2Spring
>>> >
>>> > Please feel free to edit and add your ideas.
>>> >
>>> > Andreas
>>> >
>>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>>> > wrote:
>>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>>> > > this
>>> > > conversation?  If people are interested to this level, I would think
>>> > > they
>>> > > would already be on java-dev.
>>> > >
>>> > > --G
>>> > >
>>> > > ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> > >
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
In my blog post I noted the following as a prerequisite for any
Axis2-Spring integration (but I didn't add that yet to the Wiki page):
"Support for dependency injection and proxying for all user supplied
objects: services, handlers, modules, password callbacks, etc." Here
"proxying" meant AOP support. I think that this is supported almost
out of the box, but we will have to validate that. From discussions on
the CXF mailing lists, I now that sometimes there are interferences
between annotation processing and bytecode enhancers (which are used
by Spring AOP for interface less proxies).

Andreas

On Fri, Apr 2, 2010 at 07:26, indika kumara <in...@gmail.com> wrote:
> That means, I can expose a Spring bean as a Web service and make it
> transactional using Spring AOP and transaction – same as 9.5.2. A first
> example in [1]. Then I can use axis2 WS-Security make the service secure.
>
> Thanks
>
> Indika
>
> [1]http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html
>
>
>
> On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>>
>> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
>> wrote:
>>>
>>> Please forgive me if I am asking an idiot question.  I do not have
>>> good knowledge about spring..
>>>
>>> I just want to get to know.
>>>
>>> Does this spring integration support to obtain any qualities offered
>>> by the Spring  (runtime system quality attributes , non runtime and
>>> architectural quality attributes) ? .. Simply I want to know whether
>>> after this integration, string’s support for transaction, cache,
>>> security, etc. inherently received by axis2.
>>>
>>> Will the new system support to leverage both Spring and Axis2
>>> architectures?
>>>
>> Essentially, this will be a Spring web app with Axis 2 embedded to handle
>> the web services part. So, all Spring attributes will be present.
>> WSF/Spring
>> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
>> effort put in to embed the full power of Axis2 inside Spring with support
>> for WS-*.
>>
>>>
>>> Thanks
>>>
>>> Indika
>>>
>>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>> >
>>> > One last message with java-user in copy: I've created a page on our
>>> > brand new Wiki:
>>> >
>>> > http://wiki.apache.org/axis/Axis2Spring
>>> >
>>> > Please feel free to edit and add your ideas.
>>> >
>>> > Andreas
>>> >
>>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>>> > wrote:
>>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>>> > > this
>>> > > conversation?  If people are interested to this level, I would think
>>> > > they
>>> > > would already be on java-dev.
>>> > >
>>> > > --G
>>> > >
>>> > > ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> > >
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
In my blog post I noted the following as a prerequisite for any
Axis2-Spring integration (but I didn't add that yet to the Wiki page):
"Support for dependency injection and proxying for all user supplied
objects: services, handlers, modules, password callbacks, etc." Here
"proxying" meant AOP support. I think that this is supported almost
out of the box, but we will have to validate that. From discussions on
the CXF mailing lists, I now that sometimes there are interferences
between annotation processing and bytecode enhancers (which are used
by Spring AOP for interface less proxies).

Andreas

On Fri, Apr 2, 2010 at 07:26, indika kumara <in...@gmail.com> wrote:
> That means, I can expose a Spring bean as a Web service and make it
> transactional using Spring AOP and transaction – same as 9.5.2. A first
> example in [1]. Then I can use axis2 WS-Security make the service secure.
>
> Thanks
>
> Indika
>
> [1]http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html
>
>
>
> On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>>
>> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
>> wrote:
>>>
>>> Please forgive me if I am asking an idiot question.  I do not have
>>> good knowledge about spring..
>>>
>>> I just want to get to know.
>>>
>>> Does this spring integration support to obtain any qualities offered
>>> by the Spring  (runtime system quality attributes , non runtime and
>>> architectural quality attributes) ? .. Simply I want to know whether
>>> after this integration, string’s support for transaction, cache,
>>> security, etc. inherently received by axis2.
>>>
>>> Will the new system support to leverage both Spring and Axis2
>>> architectures?
>>>
>> Essentially, this will be a Spring web app with Axis 2 embedded to handle
>> the web services part. So, all Spring attributes will be present.
>> WSF/Spring
>> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
>> effort put in to embed the full power of Axis2 inside Spring with support
>> for WS-*.
>>
>>>
>>> Thanks
>>>
>>> Indika
>>>
>>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>> >
>>> > One last message with java-user in copy: I've created a page on our
>>> > brand new Wiki:
>>> >
>>> > http://wiki.apache.org/axis/Axis2Spring
>>> >
>>> > Please feel free to edit and add your ideas.
>>> >
>>> > Andreas
>>> >
>>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>>> > wrote:
>>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>>> > > this
>>> > > conversation?  If people are interested to this level, I would think
>>> > > they
>>> > > would already be on java-dev.
>>> > >
>>> > > --G
>>> > >
>>> > > ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> > >
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
In my blog post I noted the following as a prerequisite for any
Axis2-Spring integration (but I didn't add that yet to the Wiki page):
"Support for dependency injection and proxying for all user supplied
objects: services, handlers, modules, password callbacks, etc." Here
"proxying" meant AOP support. I think that this is supported almost
out of the box, but we will have to validate that. From discussions on
the CXF mailing lists, I now that sometimes there are interferences
between annotation processing and bytecode enhancers (which are used
by Spring AOP for interface less proxies).

Andreas

On Fri, Apr 2, 2010 at 07:26, indika kumara <in...@gmail.com> wrote:
> That means, I can expose a Spring bean as a Web service and make it
> transactional using Spring AOP and transaction – same as 9.5.2. A first
> example in [1]. Then I can use axis2 WS-Security make the service secure.
>
> Thanks
>
> Indika
>
> [1]http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html
>
>
>
> On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>>
>> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
>> wrote:
>>>
>>> Please forgive me if I am asking an idiot question.  I do not have
>>> good knowledge about spring..
>>>
>>> I just want to get to know.
>>>
>>> Does this spring integration support to obtain any qualities offered
>>> by the Spring  (runtime system quality attributes , non runtime and
>>> architectural quality attributes) ? .. Simply I want to know whether
>>> after this integration, string’s support for transaction, cache,
>>> security, etc. inherently received by axis2.
>>>
>>> Will the new system support to leverage both Spring and Axis2
>>> architectures?
>>>
>> Essentially, this will be a Spring web app with Axis 2 embedded to handle
>> the web services part. So, all Spring attributes will be present.
>> WSF/Spring
>> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
>> effort put in to embed the full power of Axis2 inside Spring with support
>> for WS-*.
>>
>>>
>>> Thanks
>>>
>>> Indika
>>>
>>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>> >
>>> > One last message with java-user in copy: I've created a page on our
>>> > brand new Wiki:
>>> >
>>> > http://wiki.apache.org/axis/Axis2Spring
>>> >
>>> > Please feel free to edit and add your ideas.
>>> >
>>> > Andreas
>>> >
>>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>>> > wrote:
>>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>>> > > this
>>> > > conversation?  If people are interested to this level, I would think
>>> > > they
>>> > > would already be on java-dev.
>>> > >
>>> > > --G
>>> > >
>>> > > ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> > >
>>> > >
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
That means, I can expose a Spring bean as a Web service and make it
transactional using Spring AOP and transaction – same as *9.5.2. A first
example* in [1]. Then I can use axis2 WS-Security make the service secure.

Thanks

Indika

[1]
http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html



On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>
> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
wrote:
>>
>> Please forgive me if I am asking an idiot question.  I do not have
>> good knowledge about spring..
>>
>> I just want to get to know.
>>
>> Does this spring integration support to obtain any qualities offered
>> by the Spring  (runtime system quality attributes , non runtime and
>> architectural quality attributes) ? .. Simply I want to know whether
>> after this integration, string’s support for transaction, cache,
>> security, etc. inherently received by axis2.
>>
>> Will the new system support to leverage both Spring and Axis2
>> architectures?
>>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
> the web services part. So, all Spring attributes will be present.
WSF/Spring
> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
> effort put in to embed the full power of Axis2 inside Spring with support
> for WS-*.
>
>>
>> Thanks
>>
>> Indika
>>
>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>> >
>> > One last message with java-user in copy: I've created a page on our
>> > brand new Wiki:
>> >
>> > http://wiki.apache.org/axis/Axis2Spring
>> >
>> > Please feel free to edit and add your ideas.
>> >
>> > Andreas
>> >
>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>> > wrote:
>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>> > > this
>> > > conversation?  If people are interested to this level, I would think
>> > > they
>> > > would already be on java-dev.
>> > >
>> > > --G
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Regards,
>
> Tharindu
>

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
That means, I can expose a Spring bean as a Web service and make it
transactional using Spring AOP and transaction – same as *9.5.2. A first
example* in [1]. Then I can use axis2 WS-Security make the service secure.

Thanks

Indika

[1]
http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html



On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>
> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
wrote:
>>
>> Please forgive me if I am asking an idiot question.  I do not have
>> good knowledge about spring..
>>
>> I just want to get to know.
>>
>> Does this spring integration support to obtain any qualities offered
>> by the Spring  (runtime system quality attributes , non runtime and
>> architectural quality attributes) ? .. Simply I want to know whether
>> after this integration, string’s support for transaction, cache,
>> security, etc. inherently received by axis2.
>>
>> Will the new system support to leverage both Spring and Axis2
>> architectures?
>>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
> the web services part. So, all Spring attributes will be present.
WSF/Spring
> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
> effort put in to embed the full power of Axis2 inside Spring with support
> for WS-*.
>
>>
>> Thanks
>>
>> Indika
>>
>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>> >
>> > One last message with java-user in copy: I've created a page on our
>> > brand new Wiki:
>> >
>> > http://wiki.apache.org/axis/Axis2Spring
>> >
>> > Please feel free to edit and add your ideas.
>> >
>> > Andreas
>> >
>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>> > wrote:
>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>> > > this
>> > > conversation?  If people are interested to this level, I would think
>> > > they
>> > > would already be on java-dev.
>> > >
>> > > --G
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Regards,
>
> Tharindu
>

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
That means, I can expose a Spring bean as a Web service and make it
transactional using Spring AOP and transaction – same as *9.5.2. A first
example* in [1]. Then I can use axis2 WS-Security make the service secure.

Thanks

Indika

[1]
http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html



On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>
> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
wrote:
>>
>> Please forgive me if I am asking an idiot question.  I do not have
>> good knowledge about spring..
>>
>> I just want to get to know.
>>
>> Does this spring integration support to obtain any qualities offered
>> by the Spring  (runtime system quality attributes , non runtime and
>> architectural quality attributes) ? .. Simply I want to know whether
>> after this integration, string’s support for transaction, cache,
>> security, etc. inherently received by axis2.
>>
>> Will the new system support to leverage both Spring and Axis2
>> architectures?
>>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
> the web services part. So, all Spring attributes will be present.
WSF/Spring
> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
> effort put in to embed the full power of Axis2 inside Spring with support
> for WS-*.
>
>>
>> Thanks
>>
>> Indika
>>
>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>> >
>> > One last message with java-user in copy: I've created a page on our
>> > brand new Wiki:
>> >
>> > http://wiki.apache.org/axis/Axis2Spring
>> >
>> > Please feel free to edit and add your ideas.
>> >
>> > Andreas
>> >
>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>> > wrote:
>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>> > > this
>> > > conversation?  If people are interested to this level, I would think
>> > > they
>> > > would already be on java-dev.
>> > >
>> > > --G
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Regards,
>
> Tharindu
>

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
That means, I can expose a Spring bean as a Web service and make it
transactional using Spring AOP and transaction – same as *9.5.2. A first
example* in [1]. Then I can use axis2 WS-Security make the service secure.

Thanks

Indika

[1]
http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html



On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>
> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
wrote:
>>
>> Please forgive me if I am asking an idiot question.  I do not have
>> good knowledge about spring..
>>
>> I just want to get to know.
>>
>> Does this spring integration support to obtain any qualities offered
>> by the Spring  (runtime system quality attributes , non runtime and
>> architectural quality attributes) ? .. Simply I want to know whether
>> after this integration, string’s support for transaction, cache,
>> security, etc. inherently received by axis2.
>>
>> Will the new system support to leverage both Spring and Axis2
>> architectures?
>>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
> the web services part. So, all Spring attributes will be present.
WSF/Spring
> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
> effort put in to embed the full power of Axis2 inside Spring with support
> for WS-*.
>
>>
>> Thanks
>>
>> Indika
>>
>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>> >
>> > One last message with java-user in copy: I've created a page on our
>> > brand new Wiki:
>> >
>> > http://wiki.apache.org/axis/Axis2Spring
>> >
>> > Please feel free to edit and add your ideas.
>> >
>> > Andreas
>> >
>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>> > wrote:
>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>> > > this
>> > > conversation?  If people are interested to this level, I would think
>> > > they
>> > > would already be on java-dev.
>> > >
>> > > --G
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Regards,
>
> Tharindu
>

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
That means, I can expose a Spring bean as a Web service and make it
transactional using Spring AOP and transaction – same as *9.5.2. A first
example* in [1]. Then I can use axis2 WS-Security make the service secure.

Thanks

Indika

[1]
http://static.springsource.org/spring/docs/2.0.x/reference/transaction.html



On Fri, Apr 2, 2010 at 10:50 AM, Tharindu Mathew <th...@wso2.com> wrote:
>
> On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com>
wrote:
>>
>> Please forgive me if I am asking an idiot question.  I do not have
>> good knowledge about spring..
>>
>> I just want to get to know.
>>
>> Does this spring integration support to obtain any qualities offered
>> by the Spring  (runtime system quality attributes , non runtime and
>> architectural quality attributes) ? .. Simply I want to know whether
>> after this integration, string’s support for transaction, cache,
>> security, etc. inherently received by axis2.
>>
>> Will the new system support to leverage both Spring and Axis2
>> architectures?
>>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
> the web services part. So, all Spring attributes will be present.
WSF/Spring
> had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
> effort put in to embed the full power of Axis2 inside Spring with support
> for WS-*.
>
>>
>> Thanks
>>
>> Indika
>>
>> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>> >
>> > One last message with java-user in copy: I've created a page on our
>> > brand new Wiki:
>> >
>> > http://wiki.apache.org/axis/Axis2Spring
>> >
>> > Please feel free to edit and add your ideas.
>> >
>> > Andreas
>> >
>> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
>> > wrote:
>> > > Quick comment, folks - do we really need to be cc'ing java-user for
>> > > this
>> > > conversation?  If people are interested to this level, I would think
>> > > they
>> > > would already be on java-dev.
>> > >
>> > > --G
>> > >
>> > > ---------------------------------------------------------------------
>> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > > For additional commands, e-mail: java-dev-help@axis.apache.org
>> > >
>> > >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-user-help@axis.apache.org
>>
>
>
>
> --
> Regards,
>
> Tharindu
>

Re: Axis2-Spring integration

Posted by Tharindu Mathew <th...@wso2.com>.
On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com> wrote:

> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2
> architectures?
>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
the web services part. So, all Spring attributes will be present. WSF/Spring
had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
effort put in to embed the full power of Axis2 inside Spring with support
for WS-*.



> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
> >
> > One last message with java-user in copy: I've created a page on our
> > brand new Wiki:
> >
> > http://wiki.apache.org/axis/Axis2Spring
> >
> > Please feel free to edit and add your ideas.
> >
> > Andreas
> >
> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
> wrote:
> > > Quick comment, folks - do we really need to be cc'ing java-user for
> this
> > > conversation?  If people are interested to this level, I would think
> they
> > > would already be on java-dev.
> > >
> > > --G
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-dev-help@axis.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Regards,

Tharindu

Re: Axis2-Spring integration

Posted by Tharindu Mathew <th...@wso2.com>.
On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com> wrote:

> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2
> architectures?
>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
the web services part. So, all Spring attributes will be present. WSF/Spring
had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
effort put in to embed the full power of Axis2 inside Spring with support
for WS-*.



> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
> >
> > One last message with java-user in copy: I've created a page on our
> > brand new Wiki:
> >
> > http://wiki.apache.org/axis/Axis2Spring
> >
> > Please feel free to edit and add your ideas.
> >
> > Andreas
> >
> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
> wrote:
> > > Quick comment, folks - do we really need to be cc'ing java-user for
> this
> > > conversation?  If people are interested to this level, I would think
> they
> > > would already be on java-dev.
> > >
> > > --G
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-dev-help@axis.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Regards,

Tharindu

Re: Axis2-Spring integration

Posted by Tharindu Mathew <th...@wso2.com>.
On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com> wrote:

> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2
> architectures?
>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
the web services part. So, all Spring attributes will be present. WSF/Spring
had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
effort put in to embed the full power of Axis2 inside Spring with support
for WS-*.



> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
> >
> > One last message with java-user in copy: I've created a page on our
> > brand new Wiki:
> >
> > http://wiki.apache.org/axis/Axis2Spring
> >
> > Please feel free to edit and add your ideas.
> >
> > Andreas
> >
> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
> wrote:
> > > Quick comment, folks - do we really need to be cc'ing java-user for
> this
> > > conversation?  If people are interested to this level, I would think
> they
> > > would already be on java-dev.
> > >
> > > --G
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-dev-help@axis.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Regards,

Tharindu

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Tharindu Mathew <th...@wso2.com>.
On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com> wrote:

> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2
> architectures?
>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
the web services part. So, all Spring attributes will be present. WSF/Spring
had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
effort put in to embed the full power of Axis2 inside Spring with support
for WS-*.



> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
> >
> > One last message with java-user in copy: I've created a page on our
> > brand new Wiki:
> >
> > http://wiki.apache.org/axis/Axis2Spring
> >
> > Please feel free to edit and add your ideas.
> >
> > Andreas
> >
> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
> wrote:
> > > Quick comment, folks - do we really need to be cc'ing java-user for
> this
> > > conversation?  If people are interested to this level, I would think
> they
> > > would already be on java-dev.
> > >
> > > --G
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-dev-help@axis.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Regards,

Tharindu

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
On Fri, Apr 2, 2010 at 06:29, indika kumara <in...@gmail.com> wrote:
> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2 architectures?

One can probably summarize it as follows: the framework would
essentially be plumbing code that allows to leverage the Axis2
architecture, but that uses the Spring way of assembling an
application.

> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Tharindu Mathew <th...@wso2.com>.
On Fri, Apr 2, 2010 at 9:59 AM, indika kumara <in...@gmail.com> wrote:

> Please forgive me if I am asking an idiot question.  I do not have
> good knowledge about spring..
>
> I just want to get to know.
>
> Does this spring integration support to obtain any qualities offered
> by the Spring  (runtime system quality attributes , non runtime and
> architectural quality attributes) ? .. Simply I want to know whether
> after this integration, string’s support for transaction, cache,
> security, etc. inherently received by axis2.
>
> Will the new system support to leverage both Spring and Axis2
> architectures?
>
> Essentially, this will be a Spring web app with Axis 2 embedded to handle
the web services part. So, all Spring attributes will be present. WSF/Spring
had work done to embed Axis2 + enable WS-Security. So it'll be a matter of
effort put in to embed the full power of Axis2 inside Spring with support
for WS-*.



> Thanks
>
> Indika
>
> On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
> <an...@gmail.com> wrote:
> >
> > One last message with java-user in copy: I've created a page on our
> > brand new Wiki:
> >
> > http://wiki.apache.org/axis/Axis2Spring
> >
> > Please feel free to edit and add your ideas.
> >
> > Andreas
> >
> > On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com>
> wrote:
> > > Quick comment, folks - do we really need to be cc'ing java-user for
> this
> > > conversation?  If people are interested to this level, I would think
> they
> > > would already be on java-dev.
> > >
> > > --G
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > > For additional commands, e-mail: java-dev-help@axis.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Regards,

Tharindu

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
IBM uses Axis2 as the JAX-WS implementation in WebSphere 7 and they
seem to be actively contributing fixes back to the Axis2 codebase. So
the JAX-WS implementation should be very complete and stable.

Andreas

On Fri, Apr 2, 2010 at 05:04, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> So this thread mentions JAX-WS few times.
> I am wondering how complete out JAX-WS support is
> Samisa...
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
IBM uses Axis2 as the JAX-WS implementation in WebSphere 7 and they
seem to be actively contributing fixes back to the Axis2 codebase. So
the JAX-WS implementation should be very complete and stable.

Andreas

On Fri, Apr 2, 2010 at 05:04, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> So this thread mentions JAX-WS few times.
> I am wondering how complete out JAX-WS support is
> Samisa...
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
IBM uses Axis2 as the JAX-WS implementation in WebSphere 7 and they
seem to be actively contributing fixes back to the Axis2 codebase. So
the JAX-WS implementation should be very complete and stable.

Andreas

On Fri, Apr 2, 2010 at 05:04, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> So this thread mentions JAX-WS few times.
> I am wondering how complete out JAX-WS support is
> Samisa...
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
IBM uses Axis2 as the JAX-WS implementation in WebSphere 7 and they
seem to be actively contributing fixes back to the Axis2 codebase. So
the JAX-WS implementation should be very complete and stable.

Andreas

On Fri, Apr 2, 2010 at 05:04, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> So this thread mentions JAX-WS few times.
> I am wondering how complete out JAX-WS support is
> Samisa...
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
IBM uses Axis2 as the JAX-WS implementation in WebSphere 7 and they
seem to be actively contributing fixes back to the Axis2 codebase. So
the JAX-WS implementation should be very complete and stable.

Andreas

On Fri, Apr 2, 2010 at 05:04, Samisa Abeysinghe
<sa...@gmail.com> wrote:
> So this thread mentions JAX-WS few times.
> I am wondering how complete out JAX-WS support is
> Samisa...
>
> On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen <an...@gmail.com>
> wrote:
>>
>> One last message with java-user in copy: I've created a page on our
>> brand new Wiki:
>>
>> http://wiki.apache.org/axis/Axis2Spring
>>
>> Please feel free to edit and add your ideas.
>>
>> Andreas
>>
>> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
>> > Quick comment, folks - do we really need to be cc'ing java-user for this
>> > conversation?  If people are interested to this level, I would think
>> > they
>> > would already be on java-dev.
>> >
>> > --G
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> > For additional commands, e-mail: java-dev-help@axis.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
> Samisa...
> --
> blog: http://samisa-abeysinghe.blogspot.com/
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by indika kumara <in...@gmail.com>.
Please forgive me if I am asking an idiot question.  I do not have
good knowledge about spring..

I just want to get to know.

Does this spring integration support to obtain any qualities offered
by the Spring  (runtime system quality attributes , non runtime and
architectural quality attributes) ? .. Simply I want to know whether
after this integration, string’s support for transaction, cache,
security, etc. inherently received by axis2.

Will the new system support to leverage both Spring and Axis2 architectures?

Thanks

Indika

On Fri, Apr 2, 2010 at 2:02 AM, Andreas Veithen
<an...@gmail.com> wrote:
>
> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Amila Suriarachchi <am...@gmail.com>.
On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>

Thanks Andreas for creating the wiki an initiating the this work.

Let me put my view and suggestion first before directly editing the wiki.

Here the term Axi2 is embeded inside the spring can be elaborated as Axis2
users spring beans initialised by the spring framework rather than
initialising itself. In otherwords it acks as another plugin[1] to spring
container.

 Why this is important? Indikas' question gives the answer. Spring beans
have all the features available with the spring container and additionally
webservice support.

We can do this by using existing axis2-spring support by using
org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSupplier
but the configuration is done by using same axis2 xml files.

The proposed project let users to do that as spring configuration files as
well. But still transports, modules and all manged by Axis2 runtime.

So I suggest first paragraph should some thing like this.

The goal is to provide Spring integration for Axis2 in scenarios where Axis2
is embedded inside Spring (i.e. where the Axis2 runtime uses the spring
beans initialized by the Spring container) while keeping the configuration
also witin the spring beans. This is different from the scenario supported
by the existing axis2-spring module, which addresses the scenario of
implementing a service using Spring, while all the configurations are done
using axis2 xml files and initialize the spring beans by itself.


I am not still clear about the stanalone mode. If we assume that as letting
someone to start the simple axis2 server
with a spring bean support configuration (i.e configurations in axis2.xml
services.xml) this is not related to the orignal goal.

thanks,
Amila.

[1] http://www.developersbook.com/spring/images/SpringFrameworkModules.PNG

>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
So this thread mentions JAX-WS few times.

I am wondering how complete out JAX-WS support is

Samisa...

On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen
<an...@gmail.com>wrote:

> One last message with java-user in copy: I've created a page on our
> brand new Wiki:
>
> http://wiki.apache.org/axis/Axis2Spring
>
> Please feel free to edit and add your ideas.
>
> Andreas
>
> On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> > Quick comment, folks - do we really need to be cc'ing java-user for this
> > conversation?  If people are interested to this level, I would think they
> > would already be on java-dev.
> >
> > --G
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> > For additional commands, e-mail: java-dev-help@axis.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
> Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Andreas Veithen <an...@gmail.com>.
One last message with java-user in copy: I've created a page on our
brand new Wiki:

http://wiki.apache.org/axis/Axis2Spring

Please feel free to edit and add your ideas.

Andreas

On Thu, Apr 1, 2010 at 13:43, Glen Daniels <gl...@thoughtcraft.com> wrote:
> Quick comment, folks - do we really need to be cc'ing java-user for this
> conversation?  If people are interested to this level, I would think they
> would already be on java-dev.
>
> --G
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Glen Daniels <gl...@thoughtcraft.com>.
Quick comment, folks - do we really need to be cc'ing java-user for this
conversation?  If people are interested to this level, I would think they
would already be on java-dev.

--G

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Glen Daniels <gl...@thoughtcraft.com>.
Quick comment, folks - do we really need to be cc'ing java-user for this
conversation?  If people are interested to this level, I would think they
would already be on java-dev.

--G

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Glen Daniels <gl...@thoughtcraft.com>.
Quick comment, folks - do we really need to be cc'ing java-user for this
conversation?  If people are interested to this level, I would think they
would already be on java-dev.

--G

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Glen Daniels <gl...@thoughtcraft.com>.
Quick comment, folks - do we really need to be cc'ing java-user for this
conversation?  If people are interested to this level, I would think they
would already be on java-dev.

--G

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Glen Daniels <gl...@thoughtcraft.com>.
Quick comment, folks - do we really need to be cc'ing java-user for this
conversation?  If people are interested to this level, I would think they
would already be on java-dev.

--G

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>

Good idea  . Some frameworks use Spring configuration to assemble and
configure their internal components some use their specific approaches,
Axis2 use  several descriptor files such as axis2.xml, service.xml and
module.xml  for this. projects like WSF/Spring , Axis2M trying to replace
those native descriptor based approach by spring context. So this can be
treated as different implementation, so creating a independent project under
Axis2 TLP also good idea.



>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>
> thanks,
> Amila.
>
>>
>> >> I think that everybody agrees that it will be beneficial for Axis2 to
>> >> provide a good Spring integration out of the box. Of course, this is
>> >> also the right moment to look for involvement of others in the
>> >> community (developers and end users). I you want to help shaping the
>> >> solution, please participate in discussions, provide scenarios that
>> >> you would like to see supported, make suggestions, contribute code or
>> >> simply test the code.
>> >
>> > From the given features list I really like the idea of servlet + jaxws +
>> > spring. As I mentioned earlier wsf/spring uses RPC message receiver. But
>> > this has some issues with performance and support lists maps etc. So if
>> we
>> > can solve these issues with jaxws message receiver or a new message
>> receiver
>> > based on jaxb while supporing jaxws it would be a really advantage of
>> the
>> > user point of view. IMHO for a normal user the performance and the
>> > complexity level of the POJOs that we can support is also very
>> important.
>>
>> I think that once the infrastructure is correctly in place, supporting
>> JAX-WS doesn't require any new stuff, just plumbing code. Everything
>> is already in place in the existing JAX-WS deployer. But it is
>> probably too early to start discussing this question.
>>
>> > thanks,
>> > Amila.
>> >>
>> >> Andreas
>> >>
>> >> [1]
>> >>
>> http://veithen.blogspot.com/2010/03/some-thoughts-about-axis2-spring.html
>> >> [2] http://ssagara.blogspot.com/2010/03/roadmap-for-axis2m.html
>> >> [3] https://issues.apache.org/jira/browse/AXIS2-4662
>> >> [4] http://markmail.org/thread/n2gpvabeh6ncdcxw
>> >> [5] http://wso2.org/projects/wsf/spring
>> >> [6] http://axis2m.sourceforge.net/axis2m-spring.html
>> >> [7]
>> >>
>> https://svn.apache.org/repos/asf/axis/axis2/java/core/scratch/java/veithen/spring/axis2-spring-core/
>> >> [8] Note that Sagara was part of the bunch of committers we recently
>> >> voted into the new Axis TLP.
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>> >> For additional commands, e-mail: java-user-help@axis.apache.org
>> >>
>> >
>> >
>> >
>> > --
>> > Amila Suriarachchi
>> > WSO2 Inc.
>> > blog: http://amilachinthaka.blogspot.com/
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

Re: Axis2-Spring integration

Posted by Samisa Abeysinghe <sa...@gmail.com>.
On Thu, Apr 1, 2010 at 10:53 AM, Amila Suriarachchi <
amilasuriarachchi@gmail.com> wrote:

>
>
> On Thu, Apr 1, 2010 at 12:31 AM, Andreas Veithen <
> andreas.veithen@gmail.com> wrote:
>
>> On Wed, Mar 31, 2010 at 19:59, Amila Suriarachchi
>> <am...@gmail.com> wrote:
>> >
>> >
>> > On Wed, Mar 31, 2010 at 1:40 PM, Andreas Veithen <
>> andreas.veithen@gmail.com>
>> > wrote:
>> >>
>> >> All,
>> >>
>> >> Recently there have been some questions and discussions about Spring
>> >> support in Axis2 [1] [2] [3] [4]. As mentioned in these references,
>> >> WSO2 has developed a framework that provides Axis2-Spring integration
>> >> [5]. Also, Sagara Gunathunga has done some very interesting work [6],
>> >> but this has not yet been released. In [1] I argue that neither of
>> >> these two frameworks provide a definite solution and Sagara actually
>> >> agrees with my analysis.
>> >
>> > I also agree with your analysis :) but let me tell something about it as
>> one
>> > of the initial designer of wsf/spring.
>> >
>> > As I learned about the spring (two years ago) it promotes a way to write
>> the
>> > business logic as POJOs and managed them using spring framework. Spring
>> > provides functionalities to let these business methods to access data
>> layer
>> > and expose them as web applications. But you can test the business logic
>> > without being depending on the data layer or web layer as they are
>> written
>> > as POJOs.
>> >
>> > The idea of the wsf/spring was to let people expose these POJOs as web
>> > services. For this it uses RPCMessage receiver, schema generator and
>> some
>> > utility methods of axis2-spring. So some of the new features you have
>> > mentioned was not considered by that time as well.
>> >
>> >
>> >>
>> >> On my side, after writing my review and in
>> >> reaction to [3], I wrote some PoC code to explore how some of my wish
>> >> list items could be implemented. This code is available at [7]. I
>> >> would also like to mention the interesting contributions made by
>> >> Stephan van Hugten, who opened [3]. I would really like to see him
>> >> continuing to contribute.
>> >>
>> >> After discussion with Sagara, we decided to join our efforts under the
>> >> umbrella of the Axis2 project.
>> >
>> > Can we do this? According to apache rules I think it has to start an
>> > incubator project. I am +1 on starting as axis project :)
>> >
>> > For me the ideal place is in the spring code base itself. As I remember
>> this
>> > is where the cxf/xfire spring integrations lies. Since this is a feature
>> for
>> > spring users it would give a better visibility to axis2 as well.
>>
>> The intention is indeed to make this a module of Axis2, so that an
>> up-to-date version is part of every upcoming Axis2 release.
>>
>
> If this is an independent project then it can have independent releases
> based on some
> released Axis2 version. This allows to have more related spring features
> and release frequently.
>
>
>>
>> >
>> >>
>> >> Probably what you will see happening in
>> >> the next days is that Sagara will bring the existing Axis2M Spring
>> >> code into a sandbox area in Axis2 [8] and that we will start a
>> >> discussion about how to best merge our two codebases (which for the
>> >> moment address different parts of the problem) into a single one.
>> >
>> > Although wsf/spring has short commings that you have pointed out, it
>> > describes a better possible way of integrating Axis2 into a spring
>> container
>> > (I think this could be the reason for forking Axis2M from wsf/spring as
>> > mentioned in the your blog). And also it supports ws security as well.
>> > Therefore it would be easy to start from the wsf/spring and gradually
>> > improve it to suite for new requirement would be an easy approach.
>> >
>> > So would like to propose to start with wsf/spring. Further Axis2M has
>> forked
>> > from wsf/spring and it has go bak to use axis2.xml as well.
>>
>> If everybody proposes his own code as a starting point, we will get
>> nowhere. I think we should start from scratch, and then as we progress
>> through the different areas we want to cover, take over those
>> components from the three codebases that fit well into the
>> architecture, discarding those that need to be redesigned. Anyway I
>> think that both WSF/Spring and Axis2M share an architectural flaw that
>> will make it difficult to support the standalone (non servlet) case
>> and Spring at the client side.
>
>
> What do you mean by the standalone method? Are you thinking of integrating
> with
> existing axis2-spring integration?
>
>
>> I will provide an analysis of this
>> issue later.
>>
>> We should also establish a list of the requirements and goals that we
>> want to achieve, so that everybody has the same vision of where we go.
>> Probably a Wiki is a good place to write this down. I think, a new
>> Wiki for the Axis project has been created recently.
>>
>
> +1.
>

+1

Samisa...
--
blog: http://samisa-abeysinghe.blogspot.com/