Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by CyrilleLeClerc:
http://wiki.apache.org/ws/FrontPage/Axis/SessionSupport

The comment on the change is:
Enhance text for "Axis Client and long sessions"

------------------------------------------------------------------------------
  
  /!\ you should use the same {{{ServiceLocator}}} to instantiate the different 
stubs. The {{{ServiceLocator}}} is a heavyweight object that holds the 
HTTPSender, single instantiation it is particularly important if you use 
CommonsHTTPSender (otherwise, each Stub would use a diferent 
{{{MultiThreadedHttpConnectionManager}}}).
  
- '''Q: Is it possible to maintain a session for a long duration ?'''
+ '''Q: Is it possible to maintain a session for a long duration with Axis 
Client ?'''
  
- It can be necessary to maintain a web service session between two user 
interactions for example.
+ It can be necessary to maintain a web service session for a long duration 
(e.g. between two user interactions).
  
  Maintaining the session between SOAP invocations requires to keep a reference 
on the client Stub. The Stub is a lightweight component that can be kept alive 
for a long time.
  

Reply via email to