JBoss.org Community Documentation
First download the JBoss Cache 2.x distribution from
the download page
. You probably want the
JBossCache-pojo-2.X.Y.zip
distribution. Unzip it, and you will get a directory containing the distribution, such as
JBossCache-pojo-2.X.Y
.
For the sake of this tutorial, I will refer to this as
PojoCache
.
The configuration files are located under the
PojoCache/etc
directory. You can modify the behavior of the underlying cache through editing the various configuration files.
log4j.xml
. Logging output. You can enable logging, specify log levels or change the name and path to the log file.
META-INF/replSync-service.xml
. Cache configuration file used for this tutorial.
pojocache-aop.xml
. PojoCache configuration file that contains, amongst other things, the annotation to use on POJOs so
that they're aspectised. For more information, please the PojoCache
users manual
.