--:--









Quiz for JAX-RS & JAX-WS (REST & SOAP Web Services)

Course: JAVA | Subject: Java | Topic: Java Enterprise Edition



Logo

Q1: What does JAX-RS stand for?

Logo

Q2: Which annotation is used to define a RESTful resource method?

Logo

Q3: What does JAX-WS stand for?

Logo

Q4: Which annotation defines a JAX-RS resource class?

Logo

Q5: Which annotation is used to inject URI parameters in JAX-RS?

Logo

Q6: Which protocol does JAX-WS use?

Logo

Q7: Which JAX-RS annotation is used for a POST method?

Logo

Q8: Which annotation is used in JAX-WS to mark a method as a web service operation?

Logo

Q9: What is the return type of a JAX-RS method that returns a response?

Logo

Q10: Which JAX-RS annotation is used to define content type produced by a method?

Logo

Q11: Which annotation in JAX-RS is used to consume JSON input?

Logo

Q12: In JAX-WS, what is WSDL?

Logo

Q13: Which tool is used to generate client stubs from WSDL in JAX-WS?

Logo

Q14: Which annotation is used to map query parameters in JAX-RS?

Logo

Q15: Which annotation is used to create a RESTful client in JAX-RS?

Logo

Q16: Which JAX-RS client API class is used to send requests?

Logo

Q17: What is the purpose of JAXB in JAX-WS?

Logo

Q18: What HTTP status code represents "Not Found"?

Logo

Q19: Which MIME type is used for sending JSON data?

Logo

Q20: Which HTTP method is idempotent and used to update resources?

Are you ready to start test? Set your time limit