From general-return-6626-apmail-ws-general-archive=ws.apache.org@ws.apache.org Wed Apr 05 17:12:01 2006 Return-Path: Delivered-To: apmail-ws-general-archive@www.apache.org Received: (qmail 97242 invoked from network); 5 Apr 2006 17:11:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 17:11:58 -0000 Received: (qmail 71200 invoked by uid 500); 5 Apr 2006 17:11:41 -0000 Delivered-To: apmail-ws-general-archive@ws.apache.org Received: (qmail 70711 invoked by uid 500); 5 Apr 2006 17:11:38 -0000 Mailing-List: contact general-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: general@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list general@ws.apache.org Received: (qmail 70700 invoked by uid 99); 5 Apr 2006 17:11:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 10:11:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 10:11:37 -0700 Received: from ajax.apache.org (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id E7E7DD49FE for ; Wed, 5 Apr 2006 18:11:16 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: general@ws.apache.org Date: Wed, 05 Apr 2006 17:11:16 -0000 Message-ID: <20060405171116.10570.17377@ajax.apache.org> Subject: [Ws Wiki] Update of "FrontPage/Axis2/SessionMgmtProposal" by RajithAttapattu X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 RajithAttapattu: http://wiki.apache.org/ws/FrontPage/Axis2/SessionMgmtProposal ------------------------------------------------------------------------------ Our idea is to introduce a concept of session management that goes beyond ServiceGroupContext and spans beyond several service groups during a session with a client. - For that we introduce UserContext. + For that I propose an independent lightweight session management module === Use Cases === @@ -70, +70 @@ === The Proposal === - We would like to propose a UserContext that would be able to bridge the gap between different 2..n seperate service groups. A UserContext would hold one or more ServiceGroupContexts and WebServices that is deployed in User Scope (The name can be changed if it doesn't suit :) ) will have accessed to the UserContext to share the info. + Based on Srinaths comments and disscussion threads the initial proposal of UserContext was discarded and an independent Session Management module was introduced. + It's a layered architecture with 4 main interfaces. + Session + SessionManager + SessionIdFactory + SessionManagerFactory + The idea was to enable the extention of the session model to support fail over and clustering + There is a code and documentation patch provided in JIRA and discussions are going on in the mailling list. - We are only proposing the concept/design and not the implementation details. The implementation will be done in a manner that is consistent with the existing Axis2 architecture to accomodate the above proposal. - - For soap client we will provide a SOAP header in the form of a session id. - This session id will be mapped to ServiceGroupContext id if it's Session Scope and UserContext id if it's User Scope. - - We also think of providing a Unified Interface to the Service Authors wehether the services are deployed in Session Scoped or User Scoped. This is a nice to have from an Architectural point of view. Bcos if the Service Author decides to switch between the two then he can do it with minimal code change. - == Comments == Quoting from http://www.idealliance.org/proceedings/xml05/ship/54/xml2005-wssessions.HTML