rest - Is Restful independent of the transport protocol? -


i doing test, , confused on below question

which 2 statements true restful web services?

a. can both stateful , stateless.

b. support use of ajax in web applications.

c. similar simple object access protocol (soap) equivalents.

d. independent of transport protocol.

e. support remote procedure call (rpc) , message-oriented middleware (mom) integration styles.

there test answers b & c , other answers b & d. correct answers?

the option c. has typo: 'similar' shall 'simpler'.

correct answer b , c.

a. wrong. rest stateless. restful web service can made stateful, sending , forth session-id, same goes soap web service. however, rest concept use http infrastructure , super scalable. once there state maintained, scalability suffers 1 can not reuse same url serve (other client’s) request

d. wrong soap web service can support many transport protocols not rest.

e. wrong. feature soap web services.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -