[X] - Don't switch on sessions by default
I totally agree with Werner's point on load balancing. No sessions by default.
Jaya
On 12/27/05, Werner Dittmann <[EMAIL PROTECTED]> wrote:
[X] - Don't switch on sessions by default
Well, I'm not an Axis developer, but makeing web services
"statefull" (session aware) by default is IMO not a good idea.
If some web services need "session" it should be done deliberatly
because the system must take care of the session data.
Just think about scaleability (load sharing) of webservices on
different servers using IP load balancers. If a service
needs some state (session data) this state must be replicated
to all servers by some means, otherwise you can't perform
load sharing. Such a thing has to be designed, your overall
solution must be aware of it etc etc.
So: keep the default as simple as possible, i.e. without sessions.
Regards,
Werner
Ruchith Fernando wrote:
> [X] - Don't switch on sessions by default
>
> I totally agree with Ajith... :-)
>
> Thanks,
> Ruchith
>
> On 12/27/05, Ajith Ranabahu < [EMAIL PROTECTED]> wrote:
>
>>Hi all,
>> Here's how I think of all this. when we make a request, through the
>>browser, the implicit undertanding is that it will be stateful (think of web
>>mail reading). But when we make a Web service call IMHO we do not expect it
>>to be stateful. Web services have been hailed as stateless services for a
>>long time :)
>> So I'm with Dims in this case
>>
>> [X] - Don't switch on sessions by default
>>
>>
>>
>>--
>>Ajith Ranabahu
>
>
>
> --
> Ruchith
>
--
-- Jaya
