commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Rothe (JIRA)" <j...@apache.org>
Subject [jira] Created: (COMMONSSITE-18) Project Proposal: Persistent Collections Framework
Date Thu, 30 Aug 2007 10:24:30 GMT
Project Proposal: Persistent Collections Framework
--------------------------------------------------

                 Key: COMMONSSITE-18
                 URL: https://issues.apache.org/jira/browse/COMMONSSITE-18
             Project: Commons All
          Issue Type: New Feature
         Environment: Java 5.0 and higher, all platforms
            Reporter: Matthias Rothe


The proposed Persistent Collections Framework aims at creating a collections framework that
seamlessly integrates with the JCF (Java Collections Framework) while permitting transparent
persistence.

Say you've got an ArrayList (or some other collection or map type) of data objects you need
to work with and store away. Usually you would have to load the objects from some source (XML,
database etc.) put them into the ArrayList to manipulate or use them and later store any changes
to them yourself.

I think this can be done more transparently by telling the ArrayList were to get its objects,
work on those objects and let the ArrayList handle all the persistence issues. That would
make working with persistent objects as simple as working with in memory ones.

By using a strategy pattern any kind of data source could be wrapped and therefore become
accessible for any collection or map type.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message