I can't find this in an example.  But it is really easy.  Add jgroups.jar 
jboss-cache.jar (see the seam lib dir), add a treecache.xml (example in the 
remoting/chatroom example) to your ear, (make sure they are on the ear 
classpath, e.g. put them in application.xml), add a <s:cache key="myKey"> tag 
to the page surrounding the portion of the view to cache, watch it cache.  You 
can tune it from treecache.xml.

This is all the integration seam has with cache afaik, but you can use the 
pojocache component in your beans

e.g.

PojoCache.instance().put(region, key, content);
  | PojoCache.instance().get(region, key);

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995566#3995566

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995566
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to