Caching

Discussions

EJB design: Caching

  1. Caching (2 messages)

    HI,
        We are working on a project using JBoss where we need to cache processed information in some form? Is there a way to cache pre-processed info in J2EE?, idea is that we have a kind of agent, that goes to the database everyday in the morning, does some processing based on certain defined rules and then caches the result (am not sure if this is possible). pls advise.

    Threaded Messages (2)

  2. GemFire[ Go to top ]

    Murali,

    GemStone's GemFire distributed caching provides exactly this capability (and much more). We can mirror or dynamically partition (or both) the cached data across your server farm, with transparent failover and load balancing. The solution is extremely fast and scalable, and the API's are easy to use.

    We also provide a full web services interface compatible with key SOA requirements.

    You can obtain a download from
    http://www.gemstone.com/download/

    We would be glad to provide any assistance necessary after your download.

    Cheers,

    Gideon
    GemFire-The Enterprise Data Fabric
    http://www.gemstone.com
  3. Re: Caching[ Go to top ]

    We are working on a project using JBoss where we need to cache processed information in some form? Is there a way to cache pre-processed info in J2EE?, idea is that we have a kind of agent, that goes to the database everyday in the morning, does some processing based on certain defined rules and then caches the result (am not sure if this is possible).
    It's definitely possible. For example, use an enterprise timer service (see commonj or JSR 236 / 237) to kick off a task every morning. (Also see Flux or Quartz.) Do the processing, then bring back the results and cache them. If it's a once-a-day process, and the results are small enough, then caching them should be super easy (in memory, in a custom data structure or a Hashtable or something). Jboss includes some basic caching functionality of its own as well. For reliable, high-scale clustered caching, check out Coherence. Peace, Cameron Purdy Tangosol Coherence: The Java Data Grid