Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 3134 invoked from network); 1 Feb 2005 17:55:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Feb 2005 17:55:21 -0000 Received: (qmail 95971 invoked by uid 500); 1 Feb 2005 17:55:03 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 95954 invoked by uid 500); 1 Feb 2005 17:55:03 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 95939 invoked by uid 99); 1 Feb 2005 17:55:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of petite.abeille@gmail.com designates 64.233.184.198 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.198) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 01 Feb 2005 09:55:00 -0800 Received: by wproxy.gmail.com with SMTP id 68so832785wra for ; Tue, 01 Feb 2005 09:54:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=bG/ysPY1fktL2OjBXIe/q+9QkA2M4UojSpHsCnF2uGSUK3ojzGQR/+bsWp1gOzNAUp6NRgklSrxmLDqzb0m98ojFvueEpMs+V06Iep4AKR91DUSD1KzgUIMxmDKSn79PN4Nxbfe6fiTNzaVNDypmC7aEZd6KUQTx6w7RTWRjH60= Received: by 10.54.46.46 with SMTP id t46mr349720wrt; Tue, 01 Feb 2005 09:54:49 -0800 (PST) Received: from ?10.0.1.19? ([62.167.68.59]) by smtp.gmail.com with ESMTP id 33sm338269wra.2005.02.01.09.54.48; Tue, 01 Feb 2005 09:54:49 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: References: <41FFBA07.6030806@eutonian.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0c28c6ed64d97dcd0f2c6098d38156d1@gmail.com> Content-Transfer-Encoding: 7bit From: PA Subject: Re: WAY OT Database Crossroads Date: Tue, 1 Feb 2005 18:55:15 +0100 To: "Struts Users Mailing List" X-Mailer: Apple Mail (2.619.2) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Feb 01, 2005, at 18:23, Larry Meadors wrote: > I think I'd use a strategy pattern for this. Basically, one interface > with several implementations; the implementation is dynamically > selected at runtime, based on the tranaction type. Perhaps something like this? http://dev.alt.textdrive.com/file/pl/PLWriter.java Check the writeObject() instance method. Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org