[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: [wsrp-wsia] Issues #6 - Is groupID required?
Hi all. As discussed on Thurday's call here is a writeup of the proposal we discussed. procedure: 1. the producer tells via metadata what entities belong to an application. The producer assigns an ID (or name) for each such group. This name should ideally be globally unique. 2. the consumer MUST respect the metadata grouping information. It MUST call initEnvironment for each user session prior to making a call to any entity that belongs to a group. 3. it would not be required to transfer the grouping-metadata at all across the wire, so we could remove groupID (see the disadvantages section) 4. the consumer must respect cookies and headers in the HTTP case advantages: - no explicit groupID mechanism that pollutes the protocol - compliance with JSR168 disadvantes: - we lose our per-instance grouping concept - functionality depends on metadata-awareness comments: to 1: in the JSR168 case the producer will choose the application ID as the groupID to 2: calling initEnvironment on a per-group basis provides a simple (yet protocol dependent) mechanism for the producer to support multiple JSR 168 applications. As each application requires an HTTP session and the JSR168 producer respects (1), the call to initEnvironment establishes such an HTTP session. Together with (4), ensuring that the session will be kept, the producer can reuse this session between the consumer and the producer directly as the HTTP session required by the JSR. No re-implementation of session management on the producer would be required. to 3: after the session has been established the groupID does not to travel over the wire as the HTTP together with the entityHandle implies the appropriate grouping on the producer. This implies that the consumer side grouping equals exactly the producer side grouping. (1),(2) and (4) ensure that. Comments? Best regards Carsten Leue ------- Dr. Carsten Leue Dept.8288, IBM Laboratory Böblingen , Germany Tel.: +49-7031-16-4603, Fax: +49-7031-16-4401
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC