The following classes have a main () method and can be run directly. They are self explanatory.
org.prevayler.demos. demo1.Main - A tiny application that generates random numbers and stores them using Prevayler.
org.prevayler.demos. demo2.Main - A bank application using Prevayler.
org.prevayler.demos. demo2.MainTransient - Exactly the same bank application running only in RAM.
org.prevayler.demos. demo2.MainReplicaServer - Exactly the same bank application with transparent replication enabled.
org.prevayler.demos. demo2.MainReplica - An application that connects to the MainReplicaSerever above and transparently replicates the bank application.