Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 5841 invoked from network); 2 Apr 2010 13:34:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Apr 2010 13:34:14 -0000 Received: (qmail 23736 invoked by uid 500); 2 Apr 2010 10:47:34 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 23428 invoked by uid 500); 2 Apr 2010 10:47:32 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 23416 invoked by uid 99); 2 Apr 2010 10:47:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 10:47:31 +0000 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andreas.veithen@gmail.com designates 209.85.220.209 as permitted sender) Received: from [209.85.220.209] (HELO mail-fx0-f209.google.com) (209.85.220.209) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Apr 2010 10:47:25 +0000 Received: by fxm1 with SMTP id 1so1562209fxm.33 for ; Fri, 02 Apr 2010 03:47:04 -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 :from:date:received:message-id:subject:to:content-type :content-transfer-encoding; bh=8fPNhFwWd8RQ8NWcU2DWvKSSg51btPdt6eUDrZuFcMo=; b=KoOIcQ5RTmMrbbaAB8yLt+y9beJMvQwolAIcjftYwQBDQahw2eNr6rMNhxEYaDA6Vk 34+RHpvGQrYWIkxqHaSxwVppJwQjniJwRIbtZ6zRQQnuS308lReb/oKjfkdLLMD6aY7p +VSTiLQI46K5fRFENJiFy6S8PPQYW+VsI+eJg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=X7qbhMuqrfA7t9b8jdclPtsNvwMkdb8YW7p2VC6lUnvu8uw3UPyG3aWhs9HNN48U5i 92SK0jKgxI+ST0yFRmHNk8FuuDN8wcudd7Z+1pd6vICL4ASwi7uCPBgs2sY3kh3zLDCN NBlL3+bJgm/hnzkR/yIX5ZXAESDJjrpo5EMVg= MIME-Version: 1.0 Received: by 10.239.154.210 with HTTP; Fri, 2 Apr 2010 03:46:44 -0700 (PDT) In-Reply-To: References: <4BB486DD.1080205@thoughtcraft.com> From: Andreas Veithen Date: Fri, 2 Apr 2010 12:46:44 +0200 Received: by 10.239.184.9 with SMTP id w9mr180065hbg.120.1270205224092; Fri, 02 Apr 2010 03:47:04 -0700 (PDT) Message-ID: Subject: Re: Axis2-Spring integration To: java-dev@axis.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Fri, Apr 2, 2010 at 08:42, Amila Suriarachchi wrote: > > > On Fri, Apr 2, 2010 at 1:47 AM, Andreas Veithen > 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 Axis= 2 > users spring beans initialised by the spring framework rather than > initialising itself. In otherwords it acks as another plugin[1] to spring > container. > > =A0Why this is important? Indikas' question gives the answer. Spring bean= s > have all the features available with the spring container and additionall= y > webservice support. > > We can do this by using existing axis2-spring support by using > org.apache.axis2.extensions.spring.receiversSpringServletContextObjectSup= plier > but the configuration is done by using same axis2 xml files. > > The proposed project let users to do that as spring configuration files a= s > 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 Ax= is2 > is embedded inside Spring (i.e. where the Axis2 runtime uses the spring > beans initialized by the Spring container) while keeping the configuratio= n > also witin the spring beans. This is different from the scenario supporte= d > by the existing axis2-spring module, which addresses the scenario of > implementing a service using Spring, while all the configurations are don= e > 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 letti= ng > 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.PN= G >> >> Andreas >> >> On Thu, Apr 1, 2010 at 13:43, Glen Daniels wrote= : >> > Quick comment, folks - do we really need to be cc'ing java-user for th= is >> > conversation? =A0If 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