Oracle WebLogic Server 12c: Advanced Administration II — Question 12
In your production environment, you have deployed an application that is accessing a registered Java EE shared library as well as an application deployment plan.
In addition, both the library and the application annotations for some of their configuration properties. You are attempting to understand the current state of the properties that have been used in this deployment.
From greatest to least, what is the correct order of precedence that is used by WebLogic Server when applying configuration properties during deployment?
(Choose the best answer.)
Answer options
- A. Deployment Plan, Application descriptors, Library descriptors, Application annotations, Library annotations
- B. Deployment Plan, Application annotations, Library annotations, Application descriptors, Library descriptors
- C. Deployment Plan, Library descriptors, Application descriptors, Library annotations, Application annotations
- D. Deployment Plan, Application descriptors, Application annotations, Library descriptors, Library annotations
- E. Deployment Plan, Library descriptors, Library annotations, Application descriptors, Application annotations
Correct answer: D
Explanation
The correct answer is D because WebLogic Server applies the Deployment Plan first, followed by Application descriptors, then Application annotations, and finally Library descriptors and Library annotations. The other options misplace the order of precedence, leading to incorrect configurations being applied.