GregTomkins
Active Member
I found some old posts on this subject but they aren't very clear. I'm interested in the difference between the "FREE" and "MANAGED" session models (eg. as selectable in ProxyGen). From the doc, it is clear that Web Services "SESSION FREE" corresponds to AppServer "STATE FREE", but why I'd pick one over the other is not clear.
This, from the 11.2 WSA doc, *implies* to me that if you use "SESSION MANAGED", and five users hit you with a request at the same time, they execute in series, even if there are 5 AppServer agents available. I am doubtful that this is true (why would anyone want that?). Anyone?
session-managed Web services are single-threaded. Thus, the WSA maintains a single network session to connect the Web service and all its objects to a single AppServer on behalf of a single Web service client. All requests from the client to the same Web service objects use the same AppServer connection.
Also, I have a vague belief that the whole notion of "STATE FREE" AppServers (as opposed to state LESS) were added for the specific purpose of Web Services. Although, in ProxyGen, this property seems to apply to all types of proxies. Am I wrong?
This, from the 11.2 WSA doc, *implies* to me that if you use "SESSION MANAGED", and five users hit you with a request at the same time, they execute in series, even if there are 5 AppServer agents available. I am doubtful that this is true (why would anyone want that?). Anyone?
session-managed Web services are single-threaded. Thus, the WSA maintains a single network session to connect the Web service and all its objects to a single AppServer on behalf of a single Web service client. All requests from the client to the same Web service objects use the same AppServer connection.
Also, I have a vague belief that the whole notion of "STATE FREE" AppServers (as opposed to state LESS) were added for the specific purpose of Web Services. Although, in ProxyGen, this property seems to apply to all types of proxies. Am I wrong?