File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is and how to apply Filter Design Pattern
 
Similar Threads
what is displaytag filter. How is it used ?
url-pattern for filters
Design patterns
Filter mapping based on query string
Null pointer Exception thrown in JadeGatewayServlet