• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

RESTful and reliable HTTP sessions

 
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello !

How solves RESTful the need for WebServices based on HTTP to be extreme
reliable.

Implicit that HTTP is an unreliable protocol.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTTP is a reliable protocol, since it's based on TCP, which adds reliability to the protocol stack.

In what way do you perceive HTTP to be unreliable?

REST is a different method of programming/using WS; it adds nothing in terms of reliability (and actually diminishes the security that the SOAP stack has by way of WS-Security - which may be just fine for some or many applications).
 
author
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tom: If you need to make sure that an HTTP request goes through, you can usually just keep sending the request until you get a response. The HTTP standard puts restrictions on what the server can do in response to a GET, PUT, or DELETE request, so nothing bad will happen if the request is processed multiple times. (Assuming the service is well designed.)

However, those restrictions don't hold for POST requests. There are other ways of making POST requests reliable (like Post Once Exactly, which we cover in RWS), or replacing POST with PUT.
 
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic