최신Oracle Java EE 6 Web Component Developer Certified Expert - 1Z1-899무료샘플문제
문제1
You have built a web application that you license to small businesses. The webapp uses a context parameter, called licenseExtension, which enables certain advanced features based on your client's license package.
When a client pays for a specific service, you provide them with a license extension key that they insert into the <context-param> of the deployment descriptor. Not every client will have this context parameter so you need to create a context listener to set up a default value in the licenseExtension parameter.
Which code snippet will accomplish this goal?
You have built a web application that you license to small businesses. The webapp uses a context parameter, called licenseExtension, which enables certain advanced features based on your client's license package.
When a client pays for a specific service, you provide them with a license extension key that they insert into the <context-param> of the deployment descriptor. Not every client will have this context parameter so you need to create a context listener to set up a default value in the licenseExtension parameter.
Which code snippet will accomplish this goal?
정답: A
문제2
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?
(Choose two)
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?
(Choose two)
정답: B,C
문제3
Which security mechanism uses the concept of a realm?
Which security mechanism uses the concept of a realm?
정답: C
문제4
You are creating a new ISP page and you need to execute some code that acts when the- page is first executed, but only once. Which three are possible mechanisms for performing this initialization code? (Choose three)
You are creating a new ISP page and you need to execute some code that acts when the- page is first executed, but only once. Which three are possible mechanisms for performing this initialization code? (Choose three)
정답: A,D,E
문제5
Given the web application deployment descriptor elements:

Which element, inserted at line 27, causes the ParamAdder filter to be applied when MyServlet is invoked by another servlet using the RequestDispatcher.include method?
Given the web application deployment descriptor elements:

Which element, inserted at line 27, causes the ParamAdder filter to be applied when MyServlet is invoked by another servlet using the RequestDispatcher.include method?
정답: A
문제6
A session-scoped attribute is stored by a servlet, and then servlet forwards to a JSP page. Which three jsp:useBean attributes must be used to access this attribute in the JSP page? (Choose three.)
A session-scoped attribute is stored by a servlet, and then servlet forwards to a JSP page. Which three jsp:useBean attributes must be used to access this attribute in the JSP page? (Choose three.)
정답: B,D,E