You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Peter Monks (JIRA)" <ji...@apache.org> on 2011/06/11 19:30:58 UTC

[jira] [Created] (CMIS-389) Session should extend Serializable

Session should extend Serializable
----------------------------------

                 Key: CMIS-389
                 URL: https://issues.apache.org/jira/browse/CMIS-389
             Project: Chemistry
          Issue Type: Improvement
          Components: opencmis-client
    Affects Versions: OpenCMIS 0.3.0
         Environment: n/a
            Reporter: Peter Monks


As discussed at [1], the recommendation for OpenCMIS clients is to cache instances of org.apache.chemistry.opencmis.client.api.Session.  However many Java caching libraries require that cache entries be Serializable, and Session doesn't currently extend java.io.Serializable forcing such clients to do a variety of gymnastics if they wish to cache Sessions (as per the recommendation).

This enhancement requests that org.apache.chemistry.opencmis.client.api.Session extend java.io.Serializable.

[1] http://mail-archives.apache.org/mod_mbox/chemistry-dev/201106.mbox/%3C1C39FC46-5696-4FF5-BAF6-45362974AF91@alfresco.com%3E

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CMIS-389) Session should extend Serializable

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-389.
---------------------------------

       Resolution: Fixed
    Fix Version/s: OpenCMIS 0.4.0
         Assignee: Florian Müller

> Session should extend Serializable
> ----------------------------------
>
>                 Key: CMIS-389
>                 URL: https://issues.apache.org/jira/browse/CMIS-389
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-client
>    Affects Versions: OpenCMIS 0.3.0
>         Environment: n/a
>            Reporter: Peter Monks
>            Assignee: Florian Müller
>              Labels: serializable, session
>             Fix For: OpenCMIS 0.4.0
>
>
> As discussed at [1], the recommendation for OpenCMIS clients is to cache instances of org.apache.chemistry.opencmis.client.api.Session.  However many Java caching libraries require that cache entries be Serializable, and Session doesn't currently extend java.io.Serializable forcing such clients to do a variety of gymnastics if they wish to cache Sessions (as per the recommendation).
> This enhancement requests that org.apache.chemistry.opencmis.client.api.Session extend java.io.Serializable.
> [1] http://mail-archives.apache.org/mod_mbox/chemistry-dev/201106.mbox/%3C1C39FC46-5696-4FF5-BAF6-45362974AF91@alfresco.com%3E

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira