| Author |
Front Controller, Intercepting Filter,...
|
roul ravashimka
Ranch Hand
Joined: Mar 16, 2004
Posts: 53
|
|
Hello, When I search on javaranch for Front Controller or Intercepting Filter, I don't find anything. Althought there's a lot to find about Struts, session facade, business delegate, service locator and DOA. It seems that a front controller or an intercepting filter is never used. What do you think about those patterns, doesn't they have any value to offer? Best Regards, Roul
|
MSc Electronics, ICT
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
Isn't Struts' ActionServlet an implementation of the Front Controller pattern?
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
roul ravashimka
Ranch Hand
Joined: Mar 16, 2004
Posts: 53
|
|
Hi, I totally agree, an ActionServlet is a front controller: the front controller is used as a part of MVC. What about intercepting filter, contect object, application controller, Service to worker, dispatcher to view? I believe they are less used. I think the presentation tier is mainly build with MVC, composite view, rather then with an interception filer,... Am I correct on this? Best Regards, roul
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
Probably yes (these patterns are stuff that one doesn't really need when using MVC webapp frameworks such as Struts or WebWork).
|
 |
 |
|
|
subject: Front Controller, Intercepting Filter,...
|
|
|