Hey, all, I have a minor question about TC4, if anyone knows,
cool, if not, oh, well. ;-)
(Actually, I am probably just overlooking something obvious)
In the public drafts of 2.3 and in the Tomcat examples, I have
seen various specifications of Filter. Is the spec going to
move toward Tomcat (since it is the testbed impl) or will Tomcat's
impl change?
For example, currently in the examples, it is defined as having 3 methods:
public void init(FilterConfig config);
public void doFilter(ServletRequest req,ServletResponse resp,FilterChain
chain);
public void destroy();
While in the final draft it is:
public void FilterConfig getFilterConfig();
public void setFilterConfig(FilterConfig config);
public void doFilter(ServletRequest req,ServletResponse resp,FilterChain
chain);
They are identical in function, except for destroy().
I can see some benefit in keeping destroy(), since the Filter might
have allocated a lot of resources, (such as an XSLT transformer), but the
other differences seem to be merely preference.
Just wondering, as I am still becoming acquainted with the new stuff in 2.3.
Bob