exam questions

Exam 1z0-900 All Questions

View all questions & answers for the 1z0-900 exam

Exam 1z0-900 topic 1 question 40 discussion

Actual exam question from Oracle's 1z0-900
Question #: 40
Topic #: 1
[All 1z0-900 Questions]

Which statement is true about JAX-RS resource implementation?

  • A. The REST resource implementation class must extend the javax.ws.rs.core.Application class
  • B. The REST resource class can be implemented as a stateful Enterprise JavaBean (EJB).
  • C. The REST resource class can be implemented as a Plain Old Java Object (POJO).
  • D. The REST resource implementation class must not be final.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.oracle.com/javaee/7/tutorial/jaxrs002.htm

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
peteVln
7 months, 1 week ago
Here I would say that we should focus on asking about the implementation of the resource. Therefore I choose answer A.
upvoted 1 times
...
devmsaleh
1 year, 11 months ago
C is the correct answer According to https://docs.oracle.com/javaee/7/tutorial/jaxrs002.htm
upvoted 4 times
...
LeoAlioth
2 years, 2 months ago
A is correct (must extend the javax.ws.rs.core.Application) but so in C (can be implemented as a Plain Old Java Object (POJO))
upvoted 1 times
orjava
7 months ago
You can extend Application or use web.xml to map so option A (must) is not correct.
upvoted 1 times
...
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago