jQuery in Action, 2nd edition*
The moose likes JBoss/WildFly and the fly likes Caching on JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Caching on JBoss" Watch "Caching on JBoss" New topic

Caching on JBoss

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
How to use caching on jboss ?

Java Developer, Thailand
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Well, JBoss is probably doing a lot of caching internally but other than that, there's at least a couple of ways:
1) Let Hibernate cache your data (docs)
2) Use the JBoss TreeCache MBean (docs)

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Cameron Purdy

Joined: Sep 24, 2002
Posts: 9
If you're clustering jboss and looking for high throughput and HA (e.g. BetFair) then check out Coherence.


<a href="http://www.tangosol.com/" target="_blank" rel="nofollow">Tangosol, Inc.</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence</a>: Easily share live data across a cluster!
Sam Griffith

Joined: Jun 24, 2005
Posts: 16
Additionally use JBoss Cache....


<a href="http://www.amazon.com/exec/obidos/ASIN/0596100078/orb-20" target="_blank" rel="nofollow">JBoss: A Developers Notebook</a>
It is sorta covered in the JavaRanch Style Guide.
subject: Caching on JBoss
Similar Threads
Accessing Treecache
Java Code not updating
JBoss Caching in JBoss-4.0.5.GA
Sending HashMap between 2 servers
POJO Cache in JBoss-4.0.5.GA