commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [DbUtils] QueryRunner.executeAction(s) - Inversion of Control pattern applied
Date Fri, 04 Jun 2004 20:22:49 GMT

--- Mikhail Krivoshein <info@mikkri.com> wrote:
> Hello Devid,
> 
> >I realize IoC is a popular buzzword these days but this is actually a
> >simple application of the GoF Strategy pattern, not IoC.
> >  
> >
> Looks like you are right that IoC is a buzzword.
> But I just reread GoF strategy pattern description (from book) and can 
> say that
> this is not Strategy pattern.

Call it whatever you like but you're composing behavior by passing in a
variable algorithm for handling ResultSets.  That's the very definition of
Strategy.

David

> 
> Anyway I appreciate your feedback. Please, write your opinion about my 
> last comment.
> 
> Best regards,
> Mikhail Krivoshein
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message