javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionCreationListener
javax.servlet.http.HttpSessionActivationListener
第1题:
You are creating a Windows Communication Foundation (WCF) service that responds using plain-old XML (POX).You have the following requirements: You must enable the /catalog.svc IItems operation to respond using the POX, JSON, or ATOM formats. You also must ensure that the same URL is used regardless of the result type. You must determine the response format by using the Accepts HTTP header.What should you do?()
第2题:
Which interface must a class implement so that instances of the class are notified after any object is addedto a session?()
第3题:
You are developing a Windows Communication Foundation (WCF) service that contains the following service contract.[ServiceContract()]public interface IPaymentService{ [OperationContract()] void RecordPayments(Person person);}public class Person{ ... }public class Employee : Person{ ... }public class Customer : Person{ ... }You need to ensure that RecordPayments can correctly deserialize into an Employee or a Customer object.What should you do?()
A. Add the following KnownType attribute to the Employee class and to the Customer class. [KnownType(GetType(Person))]
B. Implement the IExtensibleDataObject interface in the Person class.
C. Implement the IExtension(ofType(T)) interface in the Person class.
D. Add the following KnownType attributes to the Person class. [KnownType(GetType(Employee))] [KnownType(GetType(Customer))]
第4题:
Which statements about inheritance are true?()
第5题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第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 the two demonstrate an “is a” relationship?()
第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?()