on 12-14-2018 11:49 AM
Hello Experts,
As we all know that V1 OCC web services are deprecated and we use V2 OCC web services. V1 OCC web services are stateful, where V2 OCC web services are stateless.
In V1, we save some data in session. But in V2, we have to send attribute's value like customer id etc in request parameter of URL.
How V2 is better than V1?
Instead of sending information every time in URL we can save some attributes in session and use it later.
Why v2 is better than v1?
Thanks in advance.
Some of the advantages of statelessness are:
Simplification of the application design
In line with HTTP design (as HTTP itself is stateless)
High scalability
Better load balancing
Better fault tolerance
More maintainable
There are many resources on the web to explain the differences e.g. https://nordicapis.com/defining-stateful-vs-stateless-web-services/
The Hybris documentation on v1 vs. v2 is https://help.hybris.com/1811/hcd/8c7cc31e866910148d97b208e1028e1a.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.