This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Last night I was going through the listeners(ServletContextListener...) in HFSJ. Do we have to remember all the method names in all those 8 listener interfaces. What sort of questions are asked in the exam from the listener perspective. Any leads ?
Yes you have to know the listeners, the method names, the method parameters (the actual event classes), AND the method available from the event. For exemple, know that HttpSessionEvent has a getSession() method to access the session your listening to.
Know also when listeners are loaded and in which order. Know in which order they are invoked (both during webapp life and at webapp shutdown time (reverse order for this one)).
This is not a great amount of work, but definitely necessary.