File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Difference between Intercepting FIlter and a normal Filter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Difference between Intercepting FIlter and a normal Filter?" Watch "Difference between Intercepting FIlter and a normal Filter?" New topic
Author

Difference between Intercepting FIlter and a normal Filter?

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
Is there any difference between an intercepting filter and a normal java filter?
prathap venkata naga yelugula
Ranch Hand

Joined: Aug 13, 2008
Posts: 243
Hi Luke,

Great ! . The Thing here is your Imagination goes because Both related to Security.
In Real World why don't we compare with Security Guard(Man infront of Gates) in Our Office Arena.
The Purpose and Fulnctionality is those definitions only Gives , But Both are relevent
Position.

Intercepting Filter : we can use as Security(control the request/response for analysis to allow for next Layer).
Normal Filter:we can use as Associate Security(supporting functionality to control the request/response)

I am poor in English , Can you please understand the intent what I am saying.

A simple Example shows which is provider , which is supporter for provider.


Cheers!
Prathap.
Gokul Nanthakumar
Ranch Hand

Joined: May 11, 2010
Posts: 56
Filter is a Servlet feature. Intercepting filter is a design pattern which suggests one of the ways to use Filter.
 
Consider Paul's rocket mass heater.
 
subject: Difference between Intercepting FIlter and a normal Filter?
 
Similar Threads
Filter and applet communication
Does container must return 404 error
what could be the answer ?
Difference between J2EE filter and Struts Interceptor
Mock Questions