Related Topics: JBoss Enterprise Middleware

JBoss: Article

JBossCache to Optimize Clustering Performance in JBoss Application Server

JBossCache to Optimize Clustering Performance in JBoss Application Server

JBoss Group's newly introduced JBossCache unifies all caching on the JBoss application server into a single implementation. JBossCache is the backbone for clustering on JBoss and implements an aspect-oriented programming (AOP) framework to improve replication and speed performance without compromising on fault-tolerance or reliability.

JBossCache features a tree-structured replicated transactional cache, which can be used for replication of serializable keys and values, and an AOP-enabled subclass, which allows for replication of any plain old Java objects (POJOs). These combine to enable new services which will be integrated with JBoss.

JBossCache can be either local or replicated. JBossCache performs basic functionality such as locking, replication, and transaction management, all of which can be configured. The AOP subclass enables Java objects with AOP capability, allowing objects to be inserted and replicated transactionally between nodes in a cluster. The AOP-enabled cache automatically analyzes an object when it is inserted in the cache and knows when any field has been changed. Auto-detection of modifications cuts down on network communication.

JBossCache will feature:

  • JNDI (Java Naming and Directory Service), a fail-safe lookup service that will be distributed.
  • HTTP Session Replication, which is critical for integrating the Tomcat Web container, making transactions available on all nodes, so a server crash is invisible at the application level.
  • Stateful Session Bean (SFSB) Replication, which allows objects to be replicated to all servers.
  • Entity Bean Replication, which is important for clustering. This allows caching of entity beans without going to database or having to serialize those objects. The ability to cache in memory, locally results in huge performance gains: in some cases speed increases by a factor of 20.

    For more information, visit www.jboss.org.

  • More Stories By Java News Desk

    JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.

    Comments (0)

    Share your thoughts on this story.

    Add your comment
    You must be signed in to add a comment. Sign-in | Register

    In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.