wood burning stoves*
The moose likes Java in General and the fly likes What is and how to apply Filter Design Pattern 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 » Java » Java in General
Bookmark "What is and how to apply Filter Design Pattern" Watch "What is and how to apply Filter Design Pattern" New topic
Author

What is and how to apply Filter Design Pattern

Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 104

Hi Experts,

I'm currently working on a project an I'm required to implement the filter design pattern in it. Now, I do not know a thing about it. So, I googled. But I have found its application in a WEB based scenario only[J2EE]. What I'm interested is to know how actually this design patter can be implemented in CORE java.

If anyone has any suggestions or known weblinks which provide this matter well, please share it.

Thanks,
Pavan.
Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 104

Bump!

Any suggestions experts?.


Thanks,
Pavan.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

The Filter pattern is not in the classical book about design patterns.

I did find it here in the Java EE Blueprints from Sun.

It's essentially the same as the Interceptor pattern - the Wikipedia article even refers to the Java EE Filter interface.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
jQuery in Action, 2nd edition
 
subject: What is and how to apply Filter Design Pattern
 
Similar Threads
what is displaytag filter. How is it used ?
Design patterns
Filter mapping based on query string
url-pattern for filters
Null pointer Exception thrown in JadeGatewayServlet