Applying the REST architecture outside of the web: resource identification -
I am looking at implementing the remaining architectural styles in a binary network protocol and I know how to identify the server The resource is in a way which will be true for style, probably because I am used to seeing the URI.
For example, an address-port pair will be eligible as a resource identifier; Assuming a resource per pair? In this case actually the resource in the request is not really recognized.
Do anyone have any experience in creating non-web based REST protocols?
You are right that REST is independent of HTTP and URIs. Here is an example of a receipt system that uses HTTP and JMS (), whereas your app is not a direct map, but it can give you some ideas.
Think of an identifier as an unfamiliar text value, can solve an endpoint within the place of an address that can represent the resource and what you need. When I give a presentation on REST, I display a system using identifiers such as:
Fib (3)
and
1 / 4
To make it clear that the URIs are not required for a REST system.
Comments
Post a Comment