In a j2ee web application whatis the best way to separately deploy a filter servlet
from it's application servlet to maintain maximum decoupling . This would be useful, say, if
a third party provided a web servlet application and one wanted to add a filter to it.
My current strategy is to add the filter description to the existing web xml and copy a jar
file containing filter code to the existing web-inf/lib directory and deploy as a single unit.