Exam 28: Web Services in Java

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

For an object to be serialized and unserialized, what must be true about the class definitions on the server and client

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

D

To bind URL parameters to method parameters, use the ________ annotation.

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

A

Which of the following is true

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

C

The ________ annotation indicates that a class represents a web service.

(Multiple Choice)
4.7/5
(41)

Each request and response is packaged in a ________ (also known as a ________)-an XML "wrapper" containing the information that a web service requires to process the message.

(Multiple Choice)
4.8/5
(34)

________ is an XML-based protocol that allows web services and clients to communicate, even if the client and the web service are written in different languages.

(Multiple Choice)
4.9/5
(28)

The computer on which a web service resides is referred to as a ________.

(Multiple Choice)
4.9/5
(35)

The ________ annotation indicates the URI for accessing the web service.

(Multiple Choice)
4.8/5
(34)

REST returns data in the ________ format.

(Multiple Choice)
4.8/5
(38)

A ________ is a software component stored on one computer that can be accessed via method calls by an application (or other software component) on another computer over a network.

(Multiple Choice)
4.9/5
(36)

To retrieve data from a URL, create a URL object and then call its ________ method.

(Multiple Choice)
4.9/5
(35)

JSON does not have a built-in way to represent ________.

(Multiple Choice)
4.8/5
(44)

The ________ annotation indicates the names of a method's parameters that will be exposed to a client calling one of the web service's methods.

(Multiple Choice)
4.8/5
(31)

The unmarshal method of the JAXB class takes ________.

(Multiple Choice)
4.8/5
(38)

A Java client application can consume a web service by adding a ________ to the application, which defines the proxy class that allows the client to access the web service.

(Multiple Choice)
4.9/5
(44)

To create a web service in NetBeans, you first create a project of type________.

(Multiple Choice)
4.8/5
(31)

Each method in a RESTful web service is identified by a unique ________.

(Multiple Choice)
4.9/5
(35)

To convert a POJO to XML, use the ________ method of the javax.xml.bind.JAXB class.

(Multiple Choice)
4.8/5
(41)

Each new web service class created with the JAX-WS APIs is a ________- you do not need to extend a class or implement an interface to create a Web service.

(Multiple Choice)
4.8/5
(28)

The top level of a JSON text cannot be a(n) ________.

(Multiple Choice)
4.9/5
(27)
Showing 1 - 20 of 27
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)