struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PA <petite.abei...@gmail.com>
Subject Re: WAY OT Database Crossroads
Date Tue, 01 Feb 2005 17:55:15 GMT

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


Mime
View raw message