Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise conversation package [SWF-175] #1088

Closed
spring-operator opened this issue Sep 22, 2006 · 0 comments
Closed

Revise conversation package [SWF-175] #1088

spring-operator opened this issue Sep 22, 2006 · 0 comments
Milestone

Comments

@spring-operator
Copy link
Contributor

spring-operator commented Sep 22, 2006

Erwin Vervaet opened SWF-175 and commented

The current ConversationManager implementations in the conversation.impl package are a bit strange and should be revised.

  • Why does AbstractConversationManager use an elaborate implementation technique with ConversationProxy objects delegating back to the manager which delegates the call on to a ConversationEntry object?
  • What use-case is LocalConversationManager serving? It stores all conversations in a local map but keeps the ids of the conversations of a particular client in that client's session map. What about use in a clustered environment?
  • Should the conversation (.impl) package be moved to execution.repository.conversation (.impl) since it's not really a conceptual conversation that's defined by the package but just a 'conversation data storage system'?
  • How to SessionBindingConversationManager and LocalConversationManager relate to each other? When do I use one, when the other? As a comparison: SessionBindingConversationManager stores ConversationEntry's in the user session map and also stores the list of ids of those conversations in the session map. LocalConversationManager stores all conversation entries for the entire VM in a single local map but holds lists of conversation ids for a particular user in the session (using a UserConversationContext).

As a proof of concept, I've checked in a SimpleConversationManager that seems much simpler implementation wise and sports most of the features of the other two conversation manager implementations.


Affects: 1.0

Issue Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant