JCACHE (JSR 107)

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • JBoss Cache as a POJO Cache by Ben Wang   - [Clicks: 136]
    Ben Wang uses JBoss Cache to show how POJO caches can offer simpler code and fewer gotchas than typical plain in-memory cache schemes.
    http://www.onjava.com/pub/a/onjava/2005/11/09/jboss-pojo-cache.html - Nov, 2005
  • Use JBoss Cache to Cache and Share Data in Your Enterprise Applications by Alexander Prohorenko, Olexiy Prokhorenko   - [Clicks: 97]
    It's a well-known fact that caching helps improve enterprise applications' performance, but did you know it's useful for solving a wide range of other problems? Learn how to build sample software, run the code yourself, and think outside of the box when it comes to using caching in your own applications.
    http://javaboutique.internet.com/tutorials/docaching/ - Sep, 2005
  • Taking the load off: OSCache helps databases cope by Andres March   - [Clicks: 104]
    Andres March shows how OSCache can be used to save your processing requirement by storing data or content, to prevent continually re-reading it or re-generating it.
    http://www.theserverside.com/articles/article.tss?l=OSCacheHelpsDatabases - Apr, 2005
  • Implementing Object Caching with AOP by Srini Penchikala   - [Clicks: 169]
    Object caching provides a mechanism to store frequently accessed data in memory, minimizing the calls to back-end database, and resulting in significant improvement in the application performance. It also gives us the ability to refresh different types of data at different time intervals (based on pre-defined eviction and cache refresh policies). Object caching offers several advantages with fast access to data but it also suffers from some disadvantages like memory overhead and synchronization complexity. By making caching an Aspect we get the flexibility of dynamically adding caching ability in a J2EE application for cached objects. We can also remove caching out of the application whenever it becomes a bottleneck in terms of memory usage. In this article, I will provide an example of object caching as an Aspect in J2EE applications and discuss the steps involved in injecting the caching functionality into a sample web application. I will also explain the flexibility of switching between two different caching frameworks without modifying any application code. The article uses AspectJ, with the caching logic implemented in both JBossCache and OSCache.
    [Includes sample application]
    http://www.theserverside.com/articles/article.tss?l=ObjectCachingWithAOP - Apr, 2005
  • The timestamp-based caching framework: Current data with peak performance by Greg Nudelman   - [Clicks: 86]
    Java developers frequently must create numerous complex objects from JDBC (Java Database Connectivity) result sets retrieved from a database. This operation's performance often proves suboptimal, because of object churning: complex objects are created, used, and garbage-collected by the JVM with every user request. Caching these objects seems an obvious solution. However, in most real-time systems, objects often have time-sensitive information, such as pricing or availability, which may change randomly but cannot be returned as stale. These types of objects pose unique challenges, because they have no reliable time-to-live attribute, and thus cannot be stored in a simple cache. To address the challenge of caching time-sensitive objects, author Greg Nudelman created a timestamp-based caching framework, which he presents in this article. This framework guarantees delivery of the most up-to-date information, yet decreases object churning. The use of this handy caching code in those trouble spots where object churning rears its ugly head can dramatically boost your application performance, and put a smile on the face of your users and your boss.
    [Includes source code]
    http://www.javaworld.com/javaworld/jw-01-2005/jw-0103-caching.html - Jan, 2005

[Top]