||A Look at Commons Chain, Part 1|
|Subject:||Playing to Weakness|
Response to: Playing to Weakness
IMO the Template Method and Strategy pattern solve different problems. Template method defines the steps of an algorithm; Strategy turns an algorithm defined in a method into a class. The Struts RequestProcessor is, in fact, an implementation of the Strategy pattern -- it defines the strategy for request processing used by the Struts ActionServlet. To me, Chain addresses the issue of coupling quite nicely. Regarding the Struts community, I have found them this group to be intelligent, friendly and open.
Playing to Weakness
2005-06-01 03:34:34 isto.nikula [View]