Sample session app supporting replication in jboss