• #29874
    Salesforce | Sanjana Sanjana #17
    Forcetalks

    What is the meaning of statelessness in terms of RESTful web services?

    What is the meaning of statelessness in terms of RESTful web services?

     

    #29923
    Salesforce | Vinay Vinay #64
    Forcetalks

    Hi Sanjana,

    1.a RESTful Web Service should not keep a client state on the server. This restriction is called Statelessness.

    2.If you hit a url using your browser or using a java based client, result will always be the User XML whose Id is 1 because the server does not store any info about the client.

    #34079
    Salesforce | Parul Parul #2
    Forcetalks

    Statelessness means that every HTTP request happens in complete isolation. When the client makes an HTTP request, it includes all information necessary for the server to fulfill that request. The server never relies on information from previous requests. If that information was important, the client would have sent it again in this request.

     

    THanks.

     

    #34115
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    RESTful Web Service should not keep a client state on the server. This restriction is called Statelessness. It is the responsibility of the client to pass its context to the server and then the server can store this context to process the client’s further request. For example, session maintained by server is identified by session identifier passed by the client.

    Following are the benefits of statelessness in RESTful Web Services −

    Web services can treat each method request independently.
    Web services need not maintain the client’s previous interactions. It simplifies the application design.
    As HTTP is itself a statelessness protocol, RESTful Web Services work seamlessly with the HTTP protocols.

    Hope this helps!

    #34123
    Forcetalks

    Hi,

    Meaning of statelessness in terms of RESTful web services means that every request is independent of each other means server does not remember the previous state.

    Thanks.

    #40941
    Salesforce | Aman Aman #4
    Forcetalks

    Hi,

    Statelessness means that every HTTP request happens in complete isolation. When the client makes an HTTP request, it includes all information necessary for the server to fulfill that request. The server never relies on information from previous requests. If that information was important, the client would have sent it again in this request.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?