Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 39458 invoked from network); 1 Mar 2011 15:58:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 15:58:46 -0000 Received: (qmail 14534 invoked by uid 500); 1 Mar 2011 15:58:46 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 14337 invoked by uid 500); 1 Mar 2011 15:58:43 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 14330 invoked by uid 99); 1 Mar 2011 15:58:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 15:58:42 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.215.50 as permitted sender) Received: from [209.85.215.50] (HELO mail-ew0-f50.google.com) (209.85.215.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 15:58:36 +0000 Received: by ewy26 with SMTP id 26so1904152ewy.37 for ; Tue, 01 Mar 2011 07:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=ZM5kesOqBwhIKU0r78ONeu9vy4Mi6bKEveb+6h9GudY=; b=MpVdcPQoBbEzckgfIqGWkqlQBabQyoApqUSTaHlIJoaqlhAwY/dLZHAygcYOqFQN/O dNOswoRNlDjil6K9mxC4441QmZ4HabcjbcISfUkdEDHiT5I7PUJ1CMPCG/Xuy2WqI6gA fm7tq7UFNymLmKTCD49zg8U4pPdwMq5VeUg+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=OkRXWGCuG0+F6DirrO5aN3D/YlspW30xo7l6TV1wg56ZHccVUuJOyl6A9sAdsmJXth txiqQd8DTxw8xjIyI/vr1/wyBSw573Npnpxvoe0aF6/XKeBR4TQ0xhxCnh/DMa1iBm6h 2dWR7SZNQCP3qs4MeSdB/QiyhUorTdZLztzng= Received: by 10.213.34.75 with SMTP id k11mr2718439ebd.25.1298995092548; Tue, 01 Mar 2011 07:58:12 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id t5sm615248eeh.2.2011.03.01.07.58.10 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Mar 2011 07:58:11 -0800 (PST) Message-ID: <4D6D1791.6040009@gmail.com> Date: Tue, 01 Mar 2011 16:58:09 +0100 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Serializers Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi guys, Last week, I started to rewrite the serializers, creating some dedicated classes for each element needing to be serialized. Each class contains a serialize()/deserialize() method. I'm now wondering if it wound't be better to simply move those static classes into the main classes being serialized/deserialized. Alex does think so, and I'm on line whith his option. The reason why I created an additional class was to avoid modifying the main classes. Also not that the class implementing Externalizable will call those dedicated methods. Thoughts ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com