[dna-issues] [JBoss JIRA] Updated: (DNA-301) Most state managed within the Workspace should be shared among multiple Session instances
Randall Hauch (JIRA)
jira-events at lists.jboss.org
Tue Mar 17 00:55:22 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Randall Hauch updated DNA-301:
------------------------------
Fix Version/s: 0.5
(was: 0.4)
Changing the fix version to 0.5, since this is not critical for 0.4 functionality and is more of an optimization for larger numbers of Session instances to the same workspace. However, we should keep these changes in mind, should any modifications be required to these components in 0.4.
> Most state managed within the Workspace should be shared among multiple Session instances
> -----------------------------------------------------------------------------------------
>
> Key: DNA-301
> URL: https://jira.jboss.org/jira/browse/DNA-301
> Project: DNA
> Issue Type: Task
> Components: API, JCR
> Affects Versions: 0.3
> Reporter: Randall Hauch
> Fix For: 0.5
>
>
> Our current JcrWorkspace implementation is created to be used only by the one JcrSession instance associated with it. Currently, each Session would have it's own Workspace implementation, each of which would have its own copy of the namespace registry and node type manager.
> However, one common use case for JCR involves creating many Session instances for the same workspace (e.g., this is the web app scenario). This means that we'd have a lot of Workspace instances (same number as Session instances) each with their own copy of the data. In fact, the node type manager should actually be "owned" (at least logically) by the repository, per section 6.7.9: "There is one node type registry per repository, therefore the NodeTypeManager is not workspace-specific; it provides introspection methods for the global, repository-wide set of available node types."
> Therefore, a number of things that are currently in the JcrWorkspace implementation should be pulled out and reused for all JcrWorkspace instances created by the JcrRepository for the same logical workspace. This issue captures the set of tasks that are involved.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list