Servlet and Web application interface changes

The servlet filter interface required by EAServer 4.1 has changed from version 4.0. The setFilterConfig method is no longer supported (as of version 4.1); it has been replaced by the init and destroy methods.

For Web application lifecycle event listeners, the interfaces javax.servlet.ServletContextAttributeListener and javax.servlet.http.HttpSessionAttributeListener are both new for EAServer version 4.1. The corresponding interfaces from EAServer version 4.0, where “Attributes” was plural, are not supported in EAServer 4.1.

For more information on servlet filters and Web application lifecycle event listeners, see Chapter 23, “Using Filters and Event Listeners,” in the EAServer Programmer’s Guide.