I wanted to know what would happen if you declare a listener say "HttpSessionBindingListener", in your Deployment Descriptor, also write the Listener class to implement the interface, but don't use the listener in any of your servlets.
I know what it does in one container, but in general, Is the implementation Container specific or does the servlet spec say anything about that?
It's just an event listener which "automatically" intercepts on the in the javadoc mentioned events. You don't need to invoke it yourself or so, if you expected to do so. In the methods of the listener class which you override you just write the desired logic which should be executed during the in the javadoc explained event.
The application server implementation is supposed to actually instantiate the listener and execute the methods during the appropriate events.
Joined: Aug 21, 2005
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com