• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Front Controller, Intercepting Filter,...

 
roul ravashimka
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't Struts' ActionServlet an implementation of the Front Controller pattern?
 
roul ravashimka
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably yes (these patterns are stuff that one doesn't really need when using MVC webapp frameworks such as Struts or WebWork).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic