Create a user called vip in the security realm
Define a group within the security realm and call it vip
Define a security-role named vip in the deployment descriptor
Declare a security-role-ref for vip in the deployment descripto
第1题:
What is the new feature within 8.5.1 that allows a developer to remove malicious code from HTML?()
第2题:
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?()
第3题:
A system has a TCPIP issue that is a known problem. The newest code from the support website has been downloaded to resolve the issue. Which of the following commands should be used to install the new code?()
A.smitty install_commit
B.installp -ugV
C.installp -aX
D.instfix -all
第4题:
You work as an application developer at Certkiller .com. Certkiller .com has instructed you to create a class named MetricFormula. This class will be used to compare MetricUnit and EnglishUnit objects.The MetricFormula is currently defined as follows (Line numbers are used for reference purposes only): 1. public class MetricFormula2. { 3. 4. } You need to ensure that the MetricFormula class can be used to compare the required objects. What should you do? ()
第5题:
A developer has created a special servlet that is responsible for generating XML content that is sent to adata warehousing subsystem. This subsystem uses HTTP to request these large data files, which are compressed by the servlet to save internal network bandwidth. The developer has received a request frommanagement to create several more of these data warehousing servlets. The developer is about to copyand paste the compression code into each new servlet. Which design pattern can consolidate thiscompression code to be used by all of the data warehousing servlets?()
第6题:
A developer used wsimport to generate the skeleton code for a Web service implementation. What is the purpose of the generated ObjectFactory class?()
第7题:
For which three events can web application event listeners be registered?()
第8题:
Which two prevent a servlet from handling requests.?()
第9题:
Given the HttpServlet code: getServletContext().setAttribute(“foo”, “value”); What is the result?()
第10题:
You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service: