Oracle
1Z0-860 · Question #69
Which two are true about specifying Java EE environment annotation metadata for session bean classes? (Choose two.)
The correct answer is A. It is possible to inject a resource without using annotations. E. Type-level, method-level,and field-level annotations can all beoverridden by the deployment descriptor. See the full explanation below for the reasoning.
Question
Which two are true about specifying Java EE environment annotation metadata for session bean classes? (Choose two.)
Options
- AIt is possible to inject a resource without using annotations.
- BOnly field-level annotations can be overridden by the deployment descriptor.
- COnly type-level annotations can be overridden by the deployment descriptor.
- DResource annotations cannot be specified on a superclass of the session bean class.
- EType-level, method-level,and field-level annotations can all beoverridden by the deployment descriptor.
- FOnly field-level annotations and method-level annotations can be overridden by the deployment
How the community answered
(26 responses)- A73% (19)
- B8% (2)
- C15% (4)
- F4% (1)
Community Discussion
No community discussion yet for this question.