JSP to Transfer Object
Service Locator to JNDI
Controller to request object
Transfer Object to Entity Bean
Controller to Business Delegate
第1题:
A Company.com developer is designing a multi-tier web application and discovers a need to hide the details of establishing and maintaining remote communications from the client. In addition, because the business and resource tiers are distributed, the application needs to minimize the inter-tier network traffic related to servicing client requests. Which design patterns, working together, address these issues?()
第2题:
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?()
第3题:
A developer is designing a multi-tier web application and discovers a need to log each incoming clientrequest. Which two patterns, taken independently, provide a solution for this problem?()
第4题:
A developer is designing a web application that makes many fine-grained remote data requests for each client request. During testing, the developer discovers that the volume of remote requests significantly degrades performance of the application. Which design pattern provides a solution for this problem?()
第5题:
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?()
第6题:
The J-Web application can install the JUNOS software from which two locations?()
第7题:
Flyweight
Transfer Object
Service Locator
Dispatcher View
Business Delegate
Model-View-Controller
第8题:
The stub will increase network traffic.
The Transfer Object will decrease data staleness.
The stub will increase the logic necessary in the JSPs.
In both cases, the JSPs can use EL expressions to get data.
Only the Transfer Object will need to use a Business Delegate.
第9题:
JSP to Transfer Object
Service Locator to JNDI
Controller to request object
Transfer Object to Entity Bean
Controller to Business Delegate
第10题:
Transfer Object
Service Locator
Front Controller
Intercepting Filter
Business Delegate
Model-View-Controller
第11题:
It reduces network traffic by collapsing multiple remote requests into one.
It increases the complexity of the remote interface by removing coarse-grained methods.
It increases the complexity of the design due to remote synchronization and version control issues.
It increases network performance introducing multiple fine-grained remote requests which return verysmall amounts of data.
第12题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第13题:
A developer is designing a multi-tier web application and discovers a need to log each incoming client request. Which two patterns, taken independently, provide a solution for this problem? ()
第14题:
A developer is designing a multi-tier application and discovers a need to hide the details of establishing and 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?()
第15题:
Your web application uses a simple architecture in which servlets handle requests and then forward to aJSP using a request dispatcher. You need to pass information calculated in the servlet to the JSP for view generation.This information must NOT be accessible to any other servlet,JSP or session in the webapp. Which two techniques can you use to accomplish this goal?()
第16题:
A developer is designing a web application that makes many fine-grained remote data requests for eachclient request. During testing, the developer discovers that the volume of remote requests significantlydegrades performance of the application. Which design pattern provides a solution for this problem?()
第17题:
Which two are characteristics of the Transfer Object design pattern?()
第18题:
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?()
第19题:
Transfer Object
Service Locator
Front Controller
Intercepting Filter
Business Delegate
第20题:
Front Controller and Transfer Object
Front Controller and Service Locator
Business Delegate and Transfer Object
Business Delegate and Intercepting Filter
第21题:
Business Delegate and Transfer Object
Business Delegate and Service Locator
Front Controller and Business Delegate
Intercepting Filter and Transfer Object
Model-View-Controller and Intercepting Filter
第22题:
Business Delegate and Transfer Object
Business Delegate and Service Locator
Front Controller and Business Delegate
Intercepting Filter and Transfer Object
第23题:
Add attributes to the session object.
Add attributes on the request object.
Add parameters to the request object.
Use the pageContext object to add request attributes.
Add parameters to the JSP’s URL when generating the request dispatcher.
第24题:
Front Controller and Transfer Object
Front Controller and Service Locator
Business Delegate and Transfer Object
Business delegate and Intercepting Filter
Model-View-Controller and Intercepting Filter