jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "PersistenceManagerFAQ" by ThomasMueller
Date Tue, 20 Nov 2007 13:08:25 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/PersistenceManagerFAQ

The comment on the change is:
marked obsolete PMs

------------------------------------------------------------------------------
  A PM should not be 'intelligent', it should not 'interpret' the data. The only thing it
should care about is to efficiently, consistently and reliably store and read the data encapsulated
in the passed nodeState & propertyState objects. Though it might be feasible to write
a custom persistence manager to represent existing legacy data in a level-1 (read-only) repository,
I don't think the same is possible for a level-2 repository and i certainly would not recommend
it.
  
  === What combination of FS and PM is the best choice? ===
- It depends on your priorities. If you want to store your data in a RDBMS, use Simple``Db``Persistence``Manager
+ either Local``File``System or Db``File``System. If you want to store your data in an accessible
format (just in case ;), you might want to try XML``Persistence``Manager + Local``File``System.
If you use windows and performance is a must, you might want to try Object``Persistence``Manager
+ CQ``File``System.
+ It depends on your priorities. If you want to store your data in a RDBMS, use BundleDbPersistenceManager
 + either Local``File``System or Db``File``System. If you want to store your data in an accessible
format (just in case ;), you might want to try XML``Persistence``Manager + Local``File``System.
  
  === Which are the current options? What are the status, pros and cons of each implementation?
===
  
  === SimpleDbPersistenceManager (and subclasses thereof) ===
-  * Status: mature (the default persistence manager)
+  * status: mature (the default persistence manager)
   * JDBC based; zero-deployment: schema is automatically created
   * atomic
   * fast
  
- === BundleFsPersistenceManager ===
-  * Status: mature
-  * very fast if used with DataStore or BLOBStore
- 
  === BundleDbPersistenceManager (and subclasses thereof) ===
-  * Status: mature
+  * status: mature
+  * JDBC based; zero-deployment: schema is automatically created
   * atomic
   * very fast if used with DataStore or BLOBStore 
  
+ === BundleFsPersistenceManager ===
+  * status: mature
+  * very fast if used with DataStore or BLOBStore
+ 
  === ObjectPersistenceManager ===
-  * Status: mature
+  * status: obsolete, mature
+  * if the JVM process is killed the repository might turn inconsistent
+  * not meant to be used in production environments
   * persists data in an abstract File``System using a simple binary serialization format
  
  === XMLPersistenceManager ===
-  * Status: mature
+  * status: obsolete, mature
+  * if the JVM process is killed the repository might turn inconsistent
+  * not meant to be used in production environments
   * persists data in an abstract File``System using XML serialization format
-  * not meant to be used in production environments
-  * if the jvm process is killed the repository might turn inconsistent
  
  === ORMPersistenceManager ===
-  * Status: experimental & unfinished, still being maintained?
+  * status: obsolete, experimental & unfinished, still being maintained?
-  * Not so simple
-  * rdbms referential integrity (possible, but not implemented yet)
+  * referential integrity is possible, but not implemented
   * not so easy to configure.
  
  === LocalFileSystem: ===
-  * Status: mature
+  * status: mature
-  * Slow on window boxes
+  * slow on window boxes
  
  === DbFileSystem: ===
-  * Status: mature
+  * status: mature
   * atomic
   * meant to be used in combination with a Database Persistence Manager as repository &
workspace file system 
  

Mime
View raw message