aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 13869
    
  10

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
 
 
subject: What is and how to apply Filter Design Pattern
 
Similar Threads
Design patterns
Null pointer Exception thrown in JadeGatewayServlet
url-pattern for filters
Filter mapping based on query string
what is displaytag filter. How is it used ?