ExamQuestions.com

Register
Login
Java EE 7 Application Developer Exam Questions

Oracle

Java EE 7 Application Developer

36 / 72

Question 36:

You created two filters for your web application by using the @WebFilter annotation, one for authorization and the other for narrowing results by the provided search criteria. The authorization filter must be invoked first. How can you specify this? 

Answer options:

A. setting the priority attribute of the @WebFilter annotation for each of the filters
B. placing the filter mapping elements in the required order in the web.xml deployment descriptor
C. placing @WebFilterMapping annotations in the required order
D. specifying the filter precedence order by using the @Priority annotation