struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pilgrim, Peter" <>
Subject RE: Why Template Method instead of Strategy in Commons Chain?
Date Wed, 09 Mar 2005 12:46:15 GMT
> -----Original Message-----
> From: Dakota Jack []

> I have no idea why Craig would say that the RequestProcessor is
> somehow related to the Template Method pattern.  It just isn't.

Ithink that the request processor defines a set of method to 
process an arbitary HTTP request from a HTTP client and 
generate a HTTP response. 

"[The template method] defines the skeleton of an algorithm 
in an operation, deferring some steps to subclasses."

"The template method fixes the names and [potentially] 
the order of the operations, but allows subclasses to
vary those steps as needed."

A sure fire description of the ``TilesRequestProcessor'' if I 
ever saw one.

Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message