$Id$ -------------------------------------------------------------------------- JAKARTA COMMONS - SIMPLESTORE -------------------------------------------------------------------------- APPROACH: 1. Provide a simple and powerful interface to store objects, retrieve and remove them. The focus is on simple to integrate and fast in processing! 2. Implement some realistic O/R framework which uses #1 for fast memory and for i.e. a DB for persistence. TODO: - Add a OIDGenerator interface and default impl. OID interface to generate a unique ObjectID. The implementation can be Random, Auto-Increment, s.o. (GF) - Add a mapping interface and a default impl of "MetaClass" (JB) - Add relations. The same as for validators. To abort transactions and report errors, if some value is invalid. This is happens also in MetaClass. - Remove method "convert" from Proxy, add a converter interface and a default impl. Separate "converter" and "object state"! Also "MetaObject" is not a very good name. Better would be something like "PersistentObjectState" (vs. StateManager in JDO). - Add PersitenceManager and PersitenceManagerFactory interfaces and default impl. - Implement a rollback method for SoftRefMemoryStore in TransactionImpl. Not tested yet, but it's trivial just clone and copy. - Add synchronization of transaction (Listeners) methods and transaction state Constants to the Transaction interface. No implementation so far only interface definitions like in JTA. - Make Proxy more abstract, to add interceptors for security and distributed objects. Trivial, add a parameter "List of interceptors". Interceptor implements "InvocationHandler". - Finders (I have no good ideas about finders at this time), but no SQL. Some procedure name at this time. - Add suport for class instances (ByteCode generation and "*.class" transformations). I think this is optional. -Some limited implementation for JDO interfaces, because this is very close to JDO. Initial committers: Gerhard Froehlich (g-froehlich@gmx.de) Juozas Baliuka (baliuka@mwm.lt)