Given the following class definition with numbered lines: How do you specify to use this mock CDI bean implementation instead of the regular implementation class?
A.
Use the alternatives element in the beans.xml file and specify the class name in the class element within it.
B.
Start up the server with the optional ""alternative command-line option, specifying any alternative class names in a comma-separated list.
C.
Reorder the implementation names in the beans.xml file such that the desired alternative is listed earlier.
D.
Delete the regular implementation class from the WAR.
This section is not available anymore. Please use the main Exam Page.1z0-900 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
kozionov
4 months, 2 weeks ago