Which interface must a class implement to be informed of a session creation event?()
第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题:
Voice quality is bad due to high delay and jitter on a link. Which two actions will improve the quality of voice calls?()
第3题:
Which interface must a session attribute implement if it needs to be notified when a web container persistsa session?()
第4题:
Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo() method, which two statements are true?()
第5题:
Which three are true about servlet filters?()
第6题:
You want to create a filter for your web application and your filter will implement javax.servlet.Filter. Which two statements are true?()
第7题:
You are developing a data contract for a Windows Communication Foundation (WCF) service. The data in the data contract must participate in round trips. Strict schema validity is not required. You need to ensure that the contract is forward-compatible and allows new data members to be added to it. Which interface should you implement in the data contract class?()
第8题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()
第9题:
The method invoked by this function must be statie.
The function class must implement the Function interface.
The expression is NOT a valid EL expression for invoking a function.
The function must be declared in a web.xml file using the
The function class must have a method with the signature:Void bloof (java.lang.Strings)
第10题:
A
The echo tag handler must define the setAttribute (String key, String value) method
The
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.IterationTag interface
The class implementing the echo tag handler must implement the javax.sevlet.jsp.tagext.DynamicAttributes interface
第11题:
In Java programming language only allows single inheritance.
In Java programming language allows a class to implement only one interface.
In Java programming language a class cannot extend a class and implement a interface together.
In Java programming language single inheritance makes code more reliable.
第12题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionValueListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
第13题:
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?()
第14题:
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?()
第15题:
Which statements about inheritance are true?()
第16题:
A developer wants too use EL to invoke a function using S{my:bloof(“foof”)}. Which is always true?()
第17题:
Which interface must a class implement so that instances of the class are notified after any object is added to a session? ()
第18题:
Which class provides paging functionality for data-bound controls that implement the IPageableItemContainer interface?()
第19题:
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?()
第20题:
A filter must implement the destroy method.
A filter must implement the doFilter method.
A servlet may have multiple filters associated with it.
A servlet that is to have a filter applied to it must implement the javax.servlet.FilterChain interface.
A filter that is part of a filter chain passes control to the next filter in the chain by invoking the FilterChain.forward method.
第21题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionValueListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
第22题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionCreationListener
javax.servlet.http.HttpSessionActivationListener
第23题:
javax.servlet.http.HttpSessionListener
javax.servlet.http.HttpSessionBindingListener
javax.servlet.http.HttpSessionAttributeListener
javax.servlet.http.HttpSessionActivationListener