javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionCreationListener
javax.servlet.http.HttpSessionActivationListener
第1题:
Your web application requires the adding and deleting of many session attributes during a complex usecase. A bug report has come in that indicates that an important session attribute is being deleted too soonand a NullPointerException is being thrown several interactions after the fact. You have decided to create asession event listener that will log when attributes are being deleted so you can track down when theattribute is erroneously being deleted. Which listener class will accomplish this debugging goal?()
第2题:
In your web application,you need to execute a block of code whenever the session object is first created. Which design will accomplish this goal?()
第3题:
A.The class implements java.lang.Comparable.
B.The class implements java.util.Comparator.
C.The interface used to implement sorting allows this class to define only one sort sequence.
D.The interface used to implement sorting allows this class to define many different sort sequences.
第4题:
Which statements about inheritance are true?()
第5题:
A system is being designed with many LPARs which will be clients of dual VIO Servers. The VIO Servers must be redundant so that, in the event of scheduled maintenance, the clients do not need to be shut down. Which of these strategies could be used to ensure that the client LPARs continue to be able to use the network in the event of a VIO Server being shut down?()
第6题:
Which interface must a class implement to be informed of a session creation event?()
第7题:
Voice quality is bad due to high delay and jitter on a link. Which two actions will improve the quality of voice calls?()
第8题:
A custom JSP tag must be able to support an arbitrary number of attributes whose names are unknown when the tag class is designed. Which two are true? ()
第9题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第10题:
Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()