RESTful Web Service

Giới thiệu

RESTful web services are services built using the RESTful architectural style. Building web services using the RESTful approach is emerging as a popular alternative to using SOAP-based technologies for deploying services on the internet, due to its lightweight nature and the ability to transmit data directly over HTTP.

The IDE supports rapid development of RESTful web services using JSR 311 – Java API for RESTful Web Services (JAX-RS) and Jersey, the reference implementation for JAX-RS.

  • REpresentational State Transfer
  • Name coined by Roy Fielding in his Ph.D thesis*
  • Architectural Style of the Web

Các tính chất

  • RESTful services are stateless: Each request from client to server must contain all the information necessary to understand the request
  • RESTful services have a uniform interface: GET, POST, PUT, and DELETE.
  • REST-based architectures are built from resources (pieces of information) that are uniquely identified by URIs:In a RESTful purchasing system, each purchase order has a unique URI
  • In REST system, resources are manipulated through the exchange of representations of the resources. For example, a purchase order resource is represented by an XML document. Within a RESTful purchasing system, a purchase order might be updated by posting an XML document containing the changed purchase order to its URI
  • REST-based architectures communicate primarily through the transfer of representations of resources

State is maintained within a resource representation

About eagle081183

Passionate, Loyal
This entry was posted in C#, SOA, Software architecture. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s