Return-Path:
SimpleStore is customizable persistence framework.
It defines interfaces for Transparent Persistence and provides reference implementation.
@@ -26,7 +48,7 @@
It is useful if you will decide to make your objects Distributed.
See Apache's AltRMI for more information on Transparent Distribution implementation.
You can use it to implement persistency aspect in your web application,
or object model, you can use it as service for your server like
@@ -35,7 +57,7 @@
SimpleStore is Open Source and you can use it in commercial projects, see Apache
license for details.
This interface is used to implement well known Factory design pattern it used to setup singleton
SimpleStore supports only atomic persistence operations, All operations must be in transaction context:
SimpleStore Users Guide
What is SimpleStore ?
+ Table of Contents
+
+
+ About this Guide
+ The SimpleStore User Guide is intended to help bean providers get acquainted with Simplestore.
+
+ Thanks for choosing Simplestore!
+
+ What is SimpleStore ?
What can SimpleStore do for me ?
+What can SimpleStore do for me ?
PersitenceManagerFactory
+PersitenceManagerFactory
PersitenceManager
instanse.PersitenceManager
is the most specific
@@ -53,7 +75,7 @@
this example setups PersitenceManager
to use RDMS as storage.
PersitenceManager
+PersitenceManager
PersitenceManager
is factory for your beans and transactions, Transaction
is the
last interface you need to know from SimpleStore if you not going to extend SimpleStore.
@@ -135,7 +157,7 @@
</storage>
Transaction
+Transaction
@@ -147,7 +169,7 @@
transaction.commit();// or transaction.rollback();
All persistent objects have OID, it is recomended to use Serializable
Object for OID,
reference implementaion uses java.lang.Long and default (Random) generator.
@@ -164,7 +186,7 @@
SimpleStore overrides int hashCode()
and boolean equals(Object obj)
methods in class Object.
It is to methods in PersistenceManager for persitent object state.
boolean isNew(Object p)
returns true
if object is returned from
@@ -175,13 +197,13 @@
java.lang.IllegalStateException
if deleted object is accessed inside or outside transaction.
Cache is transparent for SimpleStore user. It used for optimizations and reachability management, but it is "invisible" in code. It is recomended to use default implementation.
-
Metadada is used to define validation rules.
Validator
is custom object see javadoc for more information on
@@ -189,11 +211,16 @@
and sample NotNull
validator implementation. Persistent object implementation throws
ValidationException
if registread validator returns false for managed property value.
Custom interceptors used for security checks. SimpleStore doe's not define any specific Permissions and doe's no security checks. -Read more about customizations in Developers Guide. +Read more about customizations see Developers Guide .
+