Answer B. the question don t mention if is a session bean so D is not correct.
JAX-WS requirements:
-Must be public. By default every public method in the class will be part of the webservice.
- Must not be static of final
- Must have JAXB-compatible parameters and return types. Parameters and return types must not implement the java.rmi.Remote interface.
- Business methods (Session Bean) that are exposed to web service client must be annotated with javax.jws.Webmethod
D is correct according to (Requirements of a JAX-WS Endpoint) : https://docs.oracle.com/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/JAXWS3.html
upvoted 1 times
...
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.
orjava
7 months agopeteVln
7 months, 1 week agodevmsaleh
1 year, 11 months ago