Return-Path: Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: (qmail 37956 invoked from network); 1 Apr 2010 05:36:37 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Apr 2010 05:36:37 -0000 Received: (qmail 16905 invoked by uid 500); 1 Apr 2010 05:36:35 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 16635 invoked by uid 500); 1 Apr 2010 05:36:34 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 16614 invoked by uid 99); 1 Apr 2010 05:36:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 05:36:34 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of samisa.abeysinghe@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-iw0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Apr 2010 05:36:26 +0000 Received: by iwn1 with SMTP id 1so623670iwn.27 for ; Wed, 31 Mar 2010 22:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=h27FNLGXDgzfsvlwGUw9OV7OT8XM23aYrKjRonGjlhs=; b=nO4UX1PpHZ821Lydh/hNdgZ9E3IgOTKYvAisiQjEKHn7AatsNa2bgd7H9GiphlhL6B yCBc59B9h4Wv7iEMAcyykLcUZzIOZVccQiQtOPChWEKx6qZxAAK0FsnPgGMzDWkJHrMv aPcT6hI4S3TrTDjl3gu8F25XjXrJxJB4teKEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=A9QFTJ22NHHdt5iUNIrwNiyaB3B0IkFRbACtHWXwC0k7puMT7bCYVmrRNji0482KJm SvXP3pueDyQnGjGmh3TCbrD/9C8/ku+bpma+FF7DqdnC8CFFVUpYRtbNfEw7ZCr4abYN IrhuzoJp0t9dPppEsgXt1doiSDVQePDA9x9yY= MIME-Version: 1.0 Received: by 10.231.153.137 with HTTP; Wed, 31 Mar 2010 22:36:05 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Apr 2010 11:06:05 +0530 Received: by 10.231.147.16 with SMTP id j16mr543473ibv.42.1270100165599; Wed, 31 Mar 2010 22:36:05 -0700 (PDT) Message-ID: Subject: Re: Axis2-Spring integration From: Samisa Abeysinghe To: java-user@axis.apache.org Cc: java-dev@axis.apache.org Content-Type: multipart/alternative; boundary=001485e7c8063323b50483263d6c X-Virus-Checked: Checked by ClamAV on apache.org --001485e7c8063323b50483263d6c Content-Type: text/plain; charset=ISO-8859-1 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 >> 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/ --001485e7c8063323b50483263d6c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Apr 1, 2010 at 10:53 AM, Amila S= uriarachchi <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
<amilas= uriarachchi@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 Spri= ng
>> support in Axis2 [1] [2] [3] [4]. As mentioned in these references= ,
>> WSO2 has developed a framework that provides Axis2-Spring integrat= ion
>> [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 actual= ly
>> 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 wri= te the
> business logic as POJOs and managed them using spring framework. Sprin= g
> provides functionalities to let these business methods to access data = layer
> and expose them as web applications. But you can test the business log= ic
> without being depending on the data layer or web layer as they are wri= tten
> 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 s= ome
> utility methods of axis2-spring. So some of the new features you have<= br> > 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 w= ish
>> list items could be implemented. This code is available at [7]. I<= br> >> 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 remembe= r this
> is where the cxf/xfire spring integrations lies. Since this is a featu= re 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 in= dependent releases based on some
released Axis2 version. This allows to = have more related spring features and release frequently.
=A0

>
>>
>> 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 th= e
>> moment address different parts of the problem) into a single one.<= br> >
> Although wsf/spring has short commings that you have pointed out, it > describes a better possible way of integrating Axis2 into a spring con= tainer
> (I think this could be the reason for forking Axis2M from wsf/spring a= s
> 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<= br> > 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
existin= g axis2-spring integration?
=A0
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
=
--001485e7c8063323b50483263d6c--