[jboss-user] [JBossCache] - Re: Clustering without J2EE App Server?

bstansberry@jboss.com do-not-reply at jboss.com
Thu Jul 20 10:30:51 EDT 2006


JBoss Cache can function and cluster just fine outside of an app server.  An example of how to start one programatically:


  | TreeCache tree=new TreeCache();
  | PropertyConfigurator config=new PropertyConfigurator();
  | config.configure(tree, "replAsync-service.xml"); // read in config file from classpath
  | tree.createService();
  | tree.startService();
  | 

All caches on the network which share a common JGroups protocol stack definition in their config file will see each other and cluster.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959591



More information about the jboss-user mailing list