Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 53739 invoked from network); 9 Jun 2007 18:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jun 2007 18:27:40 -0000 Received: (qmail 31783 invoked by uid 500); 9 Jun 2007 18:27:34 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 31759 invoked by uid 500); 9 Jun 2007 18:27:34 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 31748 invoked by uid 99); 9 Jun 2007 18:27:34 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2007 11:27:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of atmanes@gmail.com designates 209.85.132.248 as permitted sender) Received: from [209.85.132.248] (HELO an-out-0708.google.com) (209.85.132.248) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jun 2007 11:27:29 -0700 Received: by an-out-0708.google.com with SMTP id c17so253847anc for ; Sat, 09 Jun 2007 11:27:09 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=g3x/7Tw2EsCAahbf3oiSqIh3adIwkjjrs86XE7RHJ0GJOZTN+blVunrSxySh5FKM8YBJoJEJnYTMYKqnnUVLQCaDaHTZEpbTgu/OT6Gz+ipIEJ0+rPQg0OXRqVTiWFaStmJYnIkmX9T4A/M8K9H2UAQcb07S/m3plC9NSF6OpPk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fnp29x6MvIc5Wxaw23spar/aCv3M64wAEb0HejR1qZl5t7On083qwiQOM82sZwQqpbIkfi7/5KLuwr1zMrVes5mXVNdC4/GvxjuL4xUsQwbjPTXHaEXo6+3Pzpgv7+MT2yxl1ELMioi+Z1JnBbG2eJQwkzL8zmFHyHcah8fSMxQ= Received: by 10.100.39.18 with SMTP id m18mr2425489anm.1181413628889; Sat, 09 Jun 2007 11:27:08 -0700 (PDT) Received: by 10.100.7.6 with HTTP; Sat, 9 Jun 2007 11:27:08 -0700 (PDT) Message-ID: Date: Sat, 9 Jun 2007 14:27:08 -0400 From: "Anne Thomas Manes" To: axis-user@ws.apache.org Subject: Re: Axis2 1.2 sanity check: Can generated POJO service/client handle 0-length array? In-Reply-To: <126040.67071.qm@web63412.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <126040.67071.qm@web63412.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Why aren't you just using RMI? On 6/9/07, Airline Pedestal wrote: > > Hi Anne, > > I completely agree with you points about interoperability and > clean separation. > > Although, I have a situation where extremely large return pay loads > make using XML very slow and sometimes impossible. So I've started > shipping Java Serialized objects via attachments with Axis2. > My main goal is to handle very large pay load quickly. Interoperability > is second priority. What are your thoughts about that? > > > Thanks, > > A > > > > ----- Original Message ---- > From: Anne Thomas Manes > To: axis-user@ws.apache.org > Sent: Saturday, June 9, 2007 1:12:32 PM > Subject: Re: Axis2 1.2 sanity check: Can generated POJO service/client handle 0-length array? > > I have to disagree with you -- at least if your goal is > interoperability. XML is the external interface to your service, and > it's a useful practice to maintain a clean separation of concern > between your interface and your implementation. I trust you recognize > the value of clean separation between your application object model > and a database data model and the DAO design pattern. The same > benefits exist when maintaining the separation between your externally > facing XML model and your internal object model. > > There is an impedance mismatch between XML data structures and Java > object models, just as there is an impedance mismatch between SQL data > models and Java object models. In many cases the mismatch is > insignificant, but it's a bad idea to assume that it doesn't exist. > > I agree that Axis2 could handle POJO deployment better, but even if it > were the best that it could be, I seriously doubt that it could handle > everything automatically. > > Anne > > > > > > > > > ____________________________________________________________________________________ > Sick sense of humor? Visit Yahoo! TV's > Comedy with an Edge to see what's on, when. > http://tv.yahoo.com/collections/222 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-user-help@ws.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org