Transfer Object
Front Controller
Service Locator
Intercepting Filter
Business Delegate
Model-View-Controller
第1题:
Company.com has a six-node concurrent resource group with an application that is accessed by a web connection to the cluster nodes. How is the workload moved to another cluster node during a node failure?()
第2题:
A developer is designing a web application which extensively uses EJBs and JMS. The developer finds thatthere is a lot of duplicated code to build the JNDI contexts to access the beans and queues. Further,because of the complexity, there are numerous errors in the code. Which J2EE design pattern provides asolution for this problem?()
第3题:
package com.company.application; public class MainClass { public static void main(String[] args) { } } And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATH environment variable is set to “.“ (current directory). Which two java commands entered at the command line will run MainClass?()
第4题:
Squeaky Beans Inc. hired an outside consultant to develop their web application. To finish the job quickly,the consultant created several dozen JSP pages that directly communicate with the database. The Squeakybusiness team has since purchased a set of business objects to model their system, and the Squeaky developer charged with maintaining the web application must now refactor all the JSPs to work with the newsystem. Which pattern can the developer use to solve this problem?()
第5题:
A Company.com 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 have become very large. There is also common processing code in many servlets because these use cases are very similar. Which two design patterns can be used together to refactor and simplify this web application? ()
第6题:
You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. The Web developer at your company creates a new Web site that runs an ASP.NET 3.0 Web application. The ASP.NET Web application must run under a security context that is separate from any other ASP.NET application on the Web server. You create a local user account and grant account rights and permissions to run the ASP.NET Web application. You need to configure authentication for the new Web site to support the Web application. What should you do?()
第7题:
Configure the Windows Authentication setting to Enabled.
Configure the Forms Authentication setting to Enabled by using all the default settings.
Configure the ASP.NET State service to log on to the new local user account by using the Services console.
Configure the ASP.NET Impersonation setting to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.
第8题:
java MainClass if run from the /apps directory
java com.company.application.MainClass if run from the /apps directory
java -classpath /apps com.company.application.MainClass if run from any directory
java -classpath . MainClass if run from the /apps/com/company/application directory
java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
第9题:
Transfer Object
Front Controller
Service Locator
Intercepting Filter
Business Delegate
Model-View-Controller
第10题:
Java Server Faces (JSF)
Representational State Transfer (REST)
Active Content Filtering (ACF)
Notes Application Scrubber
第11题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate
第12题:
Transfer Object
Service Locator
Intercepting Filter
Model-View-Controller
第13题:
What is the new feature within 8.5.1 that allows a developer to remove malicious code from HTML?()
第14题:
The Squeaky Bean company has decided to port their web application to a new J2EE 1.4 container. Whilereviewing the application, a developer realizes that in multiple places within the current application, nearlyduplicate code exists that finds enterprise beans. Which pattern should be used to eliminate this duplicatecode?()
第15题:
Company.com has decided to use the FUBAR Application Server to host their web application. Unfortunately, the FUBAR Application Server uses the server machine’s file system for its JNDI namespace. Every JNDI lookup performed in the web application is translated into a file 1/0 operation, which results in very poor performance. Which J2EE pattern can help with this performance issue?()
第16题:
Servlet A receives a request that it forwards to servlet B within another web application in the same web container. Servlet A needs to share data with servlet B and that data must not be visible to other servlets in A’s web application. In which object can the data that A shares with B be stored?()
第17题:
You work as an application developer at Certkiller .com. You have recently created an application domain for Certkiller .com. A few weeks later you are asked to retrieve information from this application domain, which is the current application domain. What can you do to achieve this objective?()
第18题:
A
B
C
D
第19题:
The concurrent application must control the web interface through application monitoring.
A second resource group will be required to move the web application and IP label to a new node during a node failure.
The concurrent resource group can support multiple IP labels through IP aliasing so all IP labels are defined in the concurrent resource group.
The dynamic node priority facility in HACMP will relocate the web application and the IP label,if it is correctly defined in the application start and stop script.
第20题:
Issue a certificate from the internal CA and install it on the application server
Install the Web application’s certificate into the computer store on each client computer
Install the Web application’s certificate into the personal store on each client computer. Add the application’s URL to the Trusted Sites zone in Internet Explorer
Purchase a commercial certificate and install it on the internal CA
第21题:
Command
Transfer Object
Service Locator
Session Facade
Business Delegate
第22题:
Command
Transfer object
Service locator
Session Façade
Business delegate
Data access object
第23题:
HttpSession
ServletConfig
ServletContext
HttpServletRequest
HttpServletResponse
第24题:
Transfer Object
Service Locator
Intercepting Filter
Business Delegate