JBoss.orgCommunity Documentation
1.1. | What is JBoss Cache? |
JBoss Cache is a replicated and transactional cache. It is replicated since multiple JBoss Cache instances can be distributed (either within the same JVM or across several JVMs whether they reside on the same machine or on different machines on a network) and data is replicated across the whole group. It is transactional because a user can configure a JTA compliant transaction manager and make any cache interaction transactional, and caches would participate in ongoing JTA transactions. Note that the cache can also be run without any replication; this is the local mode. JBoss Cache comes in two flavours: Core and POJO versions. The core library
(using the
JBoss Cache is made available in one of four different packages:
| |
1.2. | Who are the JBoss Cache developers? |
JBoss Cache has an active community of developers and contributors. The project was founded by Bela Ban and is currently led by Manik Surtani. Jason Greene is the lead for the POJO Cache subsystem, and other contributors both past and present include Ben Wang, Harald Gliebe, Brian Stansberry, Vladimir Blagojevic, Mircea Markus, Jimmy Wilson, Galder Zamarreño and Elias Ross. | |
1.3. | What about licensing? |
JBoss Cache is licensed under LGPL, anOSI-approved open source license. | |
1.4. | Where can I download JBoss Cache? |
The JBoss Cache product download page has prebuilt binaries as well as source distributions. You can also grab snapshots from the JBoss.org subversion repository. See the JBoss Cache development wiki page for details. | |
1.5. | How do I build JBoss Cache from sources? |
Read the README-Maven.txt file in the source root. Note that you will need a JDK >= 5.0, and Apache Maven >= 2.0.6. | |
1.6. | Which versions of the JDK are supported by JBoss Cache? |
JBoss Cache is baselined on Java 5 and is tested on Java 5 and 6 VMs. If, for whatever reason you have to use Java 1.4, you could build a retroweaved version of the core cache library that is Java 1.4 compatible, using the simple instructions on this wiki page on building and running JBoss Cache on Java 1.4. . | |
1.7. | How do I know the version of JBoss Cache that I am using? |
| |
1.8. | Can I run JBoss Cache outside of JBoss Application Server? |
Absolutely! Even though JBoss Cache comes integrated with JBoss Application Server, it can also be used in any other Java EE server such as BEA WebLogic, IBM Websphere or Tomcat. It can also run in a standalone Java process, completely outside of an application server. See the Users' Guide for more details. | |
1.9. | How can I migrate my application and configuration from using JBoss Cache 1.x to 2.x? |
Look at this wiki page for help. | |
1.10. | What about from 2.x to 3.x? |
JBoss Cache 3.x is API compatible with 2.x, although as far as possible you should refactor your code not to use deprecated methods as these may disappear in future releases of JBoss Cache.
JBoss Cache 3.x comes with an all new configuration format. Old 2.x configuration files will
still
work, although you will get a warning in the logs about this. Again, as far as possible, we
recommend
migrating your configuration file to the new format. Scripts are provided with the JBoss Cache
3.x
distribution to migrate configuration files (see
Note that to take advantage of some of the new features in JBoss Cache 3.x, you need to be using the new configuration format. | |
1.11. | Where can I report bugs or problems? |
Please report any bugs or problems to JBoss Cache User Forum. |