well here are the classes used: http://svn.apache.org/repos/asf/openejb/trunk/openejb/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/
first we have an observer which is notified when an app is deployed: http://svn.apache.org/repos/asf/openejb/trunk/openejb/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/ClusterObserver.java then we send a deploy messge ( http://svn.apache.org/repos/asf/openejb/trunk/openejb/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/DeployMessage.java ) we have the property (to be configured on all middles) "tomee.cluster.deploy.send-archive" to know if we serialize the archive or if we use file system to share the archive then our tomee has a cluster listener ( http://svn.apache.org/repos/asf/openejb/trunk/openejb/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/cluster/TomEEClusterListener.java) which simply call our deployer to do the work. The trick here is to deploy+propagate the deployment only if the app is not already deployed same idea for the undeployment excepted we just need th path to undeploy (= all installations are the same for the moment or use the same file system) *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/10/8 David Blevins <david.blev...@gmail.com> > On Oct 8, 2012, at 10:21 AM, Romain Manni-Bucau wrote: > > > Tomcat cluster events, see cluster packagr of tomee catalina > > Still catching up after JavaOne and crazy travel. If you can write even > two paragraphs on it and post it to the list that would be great. > > > > -David > > > Le 8 oct. 2012 19:07, "David Blevins" <david.blev...@gmail.com> a écrit > : > > > >> No, I mean how does it work how was it implemented? Usually for large > >> features we try to have some discussion. > >> > >> > >> -David > >> > >> On Oct 7, 2012, at 11:45 PM, Romain Manni-Bucau wrote: > >> > >>> Hi David, > >>> > >>> ability to deploy on a cluster with a single deployment > >>> > >>> *Romain Manni-Bucau* > >>> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* > >>> *Blog: **http://rmannibucau.wordpress.com/*< > >> http://rmannibucau.wordpress.com/> > >>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* > >>> *Github: https://github.com/rmannibucau* > >>> > >>> > >>> > >>> > >>> 2012/10/8 David Blevins <david.blev...@gmail.com> > >>> > >>>> Looking for some insight as to what TOMEE-334 is meant to imply. > >>>> > >>>> > >>>> -David > >>>> > >>>> > >> > >> > >