Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 29943 invoked from network); 15 Jan 2005 05:29:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Jan 2005 05:29:50 -0000 Received: (qmail 78838 invoked by uid 500); 15 Jan 2005 05:29:47 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 78793 invoked by uid 500); 15 Jan 2005 05:29:47 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 78780 invoked by uid 99); 15 Jan 2005 05:29:47 -0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=DATE_IN_FUTURE_06_12,SUBJ_HAS_SPACES X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from Unknown (HELO f1.bali.ac) (211.24.132.29) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 14 Jan 2005 21:29:45 -0800 Received: from [192.168.0.129] ([203.121.47.100]) (authenticated bits=0) by f1.bali.ac (8.12.8/8.12.8) with ESMTP id j0F5VgYA005586 for ; Sat, 15 Jan 2005 13:31:43 +0800 From: Niclas Hedhman To: dev@cocoon.apache.org Subject: Re: svn commit: r124693 - in cocoon/branches/BRANCH_2_1_X/src: blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication /configurationblocks/axis/java/org/apache/cocoon/components/axis/provi ders blocks/forms/java/org/apache/cocoon/forms/eventblocks/forms/java/org/a pache/cocoon/forms/flow/javascript blocks/forms/java/org/apache/cocoon/forms/flow/javascript/v2blocks/for ms/java/org/apache/cocoon/forms/formmodel blocks/paranoid/java/org/apache/cocoon/servletblocks/scratchpad/java/o rg/apache/cocoon/components/flow/javascript/fom blocks/scratchpad/java/org/apache/cocoon/generationblocks/web3/java/or g/apache/cocoon/components/web3/impl java/org/apache/cocoon/components/flow/javascript/fomjava/org/apache/c ocoon/servlet Date: Sat, 15 Jan 2005 13:29:08 +0000 User-Agent: KMail/1.7.1 References: <20050109003528.55029.qmail@minotaur.apache.org> <41E84ED4.5090603@apache.org> <34785.10.0.0.5.1105763563.squirrel@www.agssa.net> In-Reply-To: <34785.10.0.0.5.1105763563.squirrel@www.agssa.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501151329.09018.niclas@hedhman.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Saturday 15 January 2005 04:32, Antonio Gallardo wrote: > I am also planning to add Read/Write Object methods on some of this > classes. Serialization is often taken too lightly, and Sylvain and Vadim are both expressing this somewhat indirectly. Serialization *must* be considered a public interface, IF you expect different versions of the application to co-exist with each other, OR that the serialized data is expected to survive from one version to the next. The "public interface" aspect should then be viewed in the exact same light as a public Java interface/class, which Cocoon has plenty. You can not go about and change them friviously, even if the change doesn't break the Cocoon distro itself. Such changes are not happening, not because people can't do them, but because they know how it must be dealt with. Serialization is not a technical problem, it is a people problem (just like the public interfaces) and the best guards against improper use, I think, is education, peer-review and tests. Cheers Niclas