Online Access Free 1Z1-899 Exam Questions
Exam Code: | 1Z1-899 |
Exam Name: | Java EE 6 Web Component Developer Certified Expert Exam |
Certification Provider: | Oracle |
Free Question Number: | 132 |
Posted: | Sep 07, 2025 |
Given:
Which three EL expressions, inserted at line 16, are valid and evaluate to "d"? (Choose three)
Given a war file with the following structure
| - WEB-INF/classes/Myservlet.class
| - WEB-INF/lib/wf.jaf
Where wf.jar contains a valid web-fragment.xml and the following two classes: MyFilter1.class and MyFiler2.class.
The web-fragment.xml is as follows:
The following are some code snippets:
When one access "/" of the above web application, which filters will be executed?
Given the fragment from Java EE deployment descriptor:
341. <error-page>
342. <exception-type>java.lang.Throwable</exception-type>
343. <location>/mainError.jsp</location>
344. </error-page>
345. <error-page>
346. <exception-type>java.lang.ClassCastException</exception-type>
347. <location>/castError.jsp</location>
348. </error-page>
If the web application associated with the fragment above throws a ClassCastException.
Which statement is true?
A web component accesses a local EJB session bean with a component interface of com.example.Account with a home interface of com.example.AccountHome and a JNDI reference of ejb/Account.
Which makes the local EJB component accessible to the web components in the web application deployment descriptor?