This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes OO, Patterns, UML and Refactoring and the fly likes Doubt in Interceptor Filter? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Doubt in Interceptor Filter?" Watch "Doubt in Interceptor Filter?" New topic
Author

Doubt in Interceptor Filter?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 850
In http://www.corej2eepatterns.com/Patterns2ndEd/InterceptingFilter.htm here, under Consequences section it says-

Information sharing is inefficient

No idea what this means or how it is related to this context.


SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4541
    
    8

I must admit, I didn't know what that was particularly getting at. But I just did a search of that site looking for other rereferences to see if they explained more what they meant. And found the equivalent page from the first edition (I think) - http://www.corej2eepatterns.com/Patterns/InterceptingFilter.htm - which goes into more detail:
Information Sharing is Inefficient
Sharing information between filters can be inefficient, since by definition each filter is loosely coupled. If large amounts of information must be shared between filters, then this approach may prove to be costly.

Which makes more sense.
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 850
Thanks for reply. It do makes sense.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt in Interceptor Filter?
 
It's not a secret anymore!