Which annotation specifies the metadata as a javax.servlet.http.HttpSessionListener?
A.
@Listener
B.
@WebListener
C.
@WebSessionListener
D.
@HttpSessionListener
Explanation:
http://docs.oracle.com/cd/E12840_01/wls/docs103/webapp/annotateservlet.html (table 8-1, third row)
It’s B. 8.1.4 of servlet 3.0 spec. A doesn’t exist.
B