|
Use JBoss Cache to Cache and Share Data in Your Enterprise Applications
by Alexander Prohorenko and Olexiy Prohorenko
Nowadays, developers are using JBoss Cache, OSCache, and some of you are toying around with
JCache/FKache (which claims to be implementation of JSR 107 still in its production stage). That's not to mention the relatively long list of commercial products. Caching helps to dramatically improve the performance of enterprise applications, and that's a well-known fact. Nevertheless, besides increasing performance, there's a wide range of problems which can be solved with caching. While this article doesn't provide a ready-to-use solution, its example code will hopefully help you think outside the box when it comes to using caching in your applications.
This article is be divided into two parts: the first part provides some general
information on how you will build the sample software, and what to expect from it; the second part will simply explains how you can run the example code yourself.
What You Will Need
You'll need to have the following software installed in order to run the example code (remember that using different versions may incur "version-difference" troubles):
You should be familiar with J2EE development, because we will skip all the basics and will getstraight to our goals.
All the code in this article was compiled and run on Windows XP. Nevertheless, it should work on any operating system with only minor changes to path names.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|