The container creates only one instance for each of the listener classes registered using the <listener> element. If such a class implements multiple listener interfaces, the container uses the same instance for notifying the events corresponding to all the interfaces that the class implements.
Hello all, I am not clear abt this empty sub-class technique. Why do we use it and what does it actually achieve? Though i agree with hanumant that only instance is create per listener tag in web.xml. If it implements multiple interfaces then it is automatically handled by the container. Rajesh Kumar SCJP2,SCWCD, UML(486), J2EE(483)
I think she's lovely. It's this tiny ad that called her crazy:
Devious Experiments for a Truly Passive Greenhouse!