单项选择题
A developer is designing a web application that must support multiple interfaces,including:
an XML web service for B2B HTML for web-based clients WML for wireless customers.
Which designpattern provides a solution for this problem?()
A.Session Facade
B.Business Delegate
C.Data Access Object
D.Model-View-Controller
E.Chain of Responsibility
相关考题
-
单项选择题
A developer is designing a multi-tier web application and discovers a need to hide the details of establishingand maintaining remote communications from the client. In addition, the application needs to find,in a transparent manner,the heterogeneous business components used to service the client’s requests. Which design patterns, working together, address these issues?()
A.Business Delegate and Transfer Object
B.Business Delegate and Service Locator
C.Front Controller and Business Delegate
D.Intercepting Filter and Transfer Object -
多项选择题
A developer has created a web application that includes a servlet for each use case in the application.These servlets have become rather difficult to maintain because the request processing methods havebecome very large. There is also common processing code in many servlets because these use cases arevery similar. Which two design patterns can be used together to refactor and simplify this web application?()
A.Proxy
B.View Helper
C.Front Controller
D.Session Facade
E.Business Delegate
F.Model-View-Controller -
多项选择题
You need to store a floating point number,called Tsquare,in the session scope. Which two code snippetsallow you to retrieve this value?()
A.float Tsquare = session.getFloatAttribute("Tsquare");
B.float Tsquare = (Float) session.getAttribute("Tsquare");
C.float Tsquare = (float) session.getNumericAttribute("Tsquare");
D.float Tsquare = ((Float) session.getAttribute.("Tsquare")).floatValue();
E.float Tsquare = ((Float) session.getFloatAttribute.("Tsquare")).floatValue;
