单项选择题
You have a simple web application that has a single Front Controller servlet that dispatches to JSPs togenerate a variety of views. Several of these views require further database processing to retrieve the necessary order object using the orderID request parameter. To do this additional processing, you pass therequest first to a servlet that is mapped to the URL pattern /WEB INF/retreiveOrder.do in the deploymentdescriptor. This servlet takes two request parameters, the orderID and the jspURL. It handles the databasecalls to retrieve and build the complex order objects and then it dispatches to the jspURL.
Which codesnippet in the Front Controller servlet dispatches the request to the order retrieval servlet?()
A.
B.
C.
D.
相关考题
-
多项选择题
You are designing an n-tier Java EE application. You have already decided that some of your JSPs willneed to get data from a Customer entity bean. You are trying to decide whether to use a Customer stubobject or a Transfer Object. Which two statements are true?()
A.The stub will increase network traffic.
B.The Transfer Object will decrease data staleness.
C.The stub will increase the logic necessary in the JSPs.
D.In both cases, the JSPs can use EL expressions to get data.
E.Only the Transfer Object will need to use a Business Delegate. -
单项选择题
A developer is designing the presentation tier for a web application which requires a centralized requesthandling to complete common processing required by each request. Which design pattern provides asolution to this problem?()
A.Remote Proxy
B.Front Controller
C.Service Activator
D.Intercepting Filter
E.Business Delegate -
多项选择题
Inann-tierapplication,whichtwoinvocationsaretypicallyremote,notlocal?()
A.JSP to Transfer Object
B.Service Locator to JNDI
C.Controller to request object
D.Transfer Object to Entity Bean
E.Controller to Business Delegate
