Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@locus.apache.org Received: (qmail 62647 invoked from network); 23 Jan 2009 16:29:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jan 2009 16:29:35 -0000 Received: (qmail 94603 invoked by uid 500); 23 Jan 2009 16:29:35 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 94594 invoked by uid 500); 23 Jan 2009 16:29:35 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 94583 invoked by uid 99); 23 Jan 2009 16:29:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 08:29:35 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sccomer@cisco.com designates 171.71.176.71 as permitted sender) Received: from [171.71.176.71] (HELO sj-iport-2.cisco.com) (171.71.176.71) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jan 2009 16:29:25 +0000 X-IronPort-AV: E=Sophos;i="4.37,312,1231113600"; d="vcf'?scan'208";a="125292656" Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-2.cisco.com with ESMTP; 23 Jan 2009 16:29:05 +0000 Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n0NGT5v9014187 for ; Fri, 23 Jan 2009 08:29:05 -0800 Received: from xbh-rtp-211.amer.cisco.com (xbh-rtp-211.cisco.com [64.102.31.102]) by sj-core-2.cisco.com (8.13.8/8.13.8) with ESMTP id n0NGSxc4002484 for ; Fri, 23 Jan 2009 16:29:04 GMT Received: from xfe-rtp-201.amer.cisco.com ([64.102.31.38]) by xbh-rtp-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 23 Jan 2009 11:29:01 -0500 Received: from [10.89.30.194] ([10.89.30.194]) by xfe-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 23 Jan 2009 11:29:01 -0500 Message-ID: <4979F048.7040401@cisco.com> Date: Fri, 23 Jan 2009 10:28:56 -0600 From: "scott comer (sccomer)" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: etch-dev@incubator.apache.org Subject: Re: Post to Etch developer community References: <4465623F8C892B4C829F7B4D09A4C2B906B7CDFA@xmb-sjc-234.amer.cisco.com> <4465623F8C892B4C829F7B4D09A4C2B906B7D1E6@xmb-sjc-234.amer.cisco.com> In-Reply-To: Content-Type: multipart/mixed; boundary="------------080600090108050302070408" X-OriginalArrivalTime: 23 Jan 2009 16:29:01.0693 (UTC) FILETIME=[B32582D0:01C97D77] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=5443; t=1232728145; x=1233592145; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=sccomer@cisco.com; z=From:=20=22scott=20comer=20(sccomer)=22=20 |Subject:=20Re=3A=20Post=20to=20Etch=20developer=20communit y |Sender:=20; bh=50okErI+c7t0lpht8sfUdd3drwX03/A8Fr0fLSSn7r0=; b=DSmous34GnGacQUBtJekkwTuJ0DbGkPgmTXPJacYn1ZzzVodcwxZyv4PrX ysHBV4oDefsLwI0ihIhI2w07jXswLDuuYx97dSBfmbmky/YxNMJwmUili+Hd cSnlzDJfNR; Authentication-Results: sj-dkim-2; header.From=sccomer@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; ); X-Virus-Checked: Checked by ClamAV on apache.org --------------080600090108050302070408 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit jd created the issue here: https://issues.apache.org/jira/browse/ETCH-30 i've attached to the issue a patch release for you to try. you can probably get it faster here: \\metreos-fs\scratch\wert\etch-1.0.2 thanks, scott out James Dixson wrote: > Nithya, > > This sounds like an issue related to some need for expediency on your > part rather than a though out design consideration. Lets do this, I > will open an issue against Etch about a default constructor, but I > will not schedule the issue to be fixed until the design question is > better understood. > > In that issue we can post a patch to 1.0.x that will generate a > default constructor that you can apply to the 1.0.x code base to try > out and see if that solves your immediate problem. > > But before we can serious consider including this in mainline, we > really need to understand if this is something that is important > beyond your very specific implementation. > > -- > james > > > On Thu, Jan 22, 2009 at 11:14 AM, Nithya Vijayakumar (nvijayak) > wrote: > >> We want to expose the underlying Etch services as SOAP. So no additional >> server side implementations needed. Our requirements is not to expose >> Service A to SOAP, but expose Etch Service A to SOAP. I understand that >> if we are starting the product from scratch we have several options. >> Instantiating a service without a default constructor is one thing, but >> data transfer doesn't happen in the same way. From our experience with >> many web service solutions (CXF, ServiceMix, Axis etc) for any >> serializable communication to happen, we need no-arg constructors for >> the data objects. >> >> We have been using Tuscany for well over a year now and have made many >> modifications to its original source that we are in the process of >> contributing back to the community. May be I wasn't clear in my earlier >> explanation. We need POJOs for use with Tuscany. We need default >> constructors for exposing applications as SOAP with Axis 2. >> >> Our current framework's scope is well beyond just SOAP and Etch and it >> supports a variety of features. The supported model for our application >> is deployment within Tomcat and Jetty containers. This framework is >> already being used by many products in our organization, hence moving to >> spring framework right now would be not feasible for us. >> >> We understand that the requirements for no-arg constructors stems from >> the design of our architecture and our choice of tools. However, we are >> facing a requirement to expose Etch as SOAP (in our current Tuscany >> based framework). Hence the request. >> >> Thanks, >> Nithya >> >> -----Original Message----- >> From: hedhman@gmail.com [mailto:hedhman@gmail.com] On Behalf Of Niclas >> Hedhman >> Sent: Wednesday, January 21, 2009 11:37 PM >> To: etch-dev@incubator.apache.org >> Subject: Re: Post to Etch developer community >> >> On Wed, Jan 21, 2009 at 10:44 PM, Nithya Vijayakumar (nvijayak) >> wrote: >> >>> Hi all, >>> >>> Our requirement to use a JAVA POJO comes from Apache Tuscany. We did a >>> >>> elaborate study of the different web services applications available >>> and found Apache Tuscany to be the most easy to use and extendable >>> software for our cause. Tuscany is based on a Service Component >>> Architecture. It supports java and a few other languages. >>> >> But you have not answered if you are aware that you introduce one extra >> tier of network communications? Is that what you really are after, or do >> you want to provide an additional binding to the underlying service? >> >> If you let Etch IDL generate you the server bindings, you will need to >> provide an implementation, and IMHO, that is an easy integration point, >> whereas you will have an additional to Etch transport and SOAP transport >> for the same service. It all depends on your usecase. >> >> Furthermore, I have not used Tuscany myself, but just from 3 minutes >> worth of browsing the documentation, it is pretty clear that the default >> constructor is not a hard requirement. For instance, Tuscany allows >> Spring, Spring allows for bean factories, hence no need for default >> constructor. Tuscany allows for OSGi services, which are not >> instantiable at all and should be looked up in a service registry, hence >> no need for default constructor. You need to look beyond the HelloWorld >> and the simple implementation.java type. Tuscany is obviously a lot more >> capable than you initially gave me the impression of. >> >> Cheers >> Niclas >> -- >> http://www.qi4j.org - New Energy for Java >> >> --------------080600090108050302070408--