Live class reloading works in JBoss too, at least the last time I used it. (7.x.x) You have to make your IDE to compile directly to the web container exploded directory structure. This is specific to your IDE / web container, and not really Tapestry.
First of all read this: https://tapestry.apache.org/class-reloading.html especially "Troubleshooting Live Class Reloading" and "If Live Class Reloading doesn't work". https://www.google.fi/search?q=eclipse+compile+on+save https://www.google.fi/search?q=eclipse+change+output+directory If you want full code-refresh-view cycle, you should look at http://zeroturnaround.com/software/jrebel/ Tapestry only changes the classes on the fly that it manages, but not the others. I've seen that Tapestry's offering is enough for most setups, but I've always struggled a bit with large multiproject setups, as only the main project is easy to get refreshed on the fly. If someone knows a way to do it, please let me know. I don't think the question was about HA, but here goes nothing: if you're going to have high availability site, you should have multiple backend servers that you can bounce one by one. Have your load balancer(s) to automaticly ping back end servers and drop dead ones and add resurrecting back, remember to replicate session or go stateless. The services behind the web application servers must also be ofcourse clustered and accessed through LB ip address for an example. In that setup you can freely stop and start nodes, provided that the remaining ones have enough power to serve incoming requests. Script you deployment so that it automaticly stops a node, redeploys, starts it back up, moves to next node after your monitoring tells the node is back online, otherwise retries. The tools to make this happen may include nagios (http://www.nagios.org/), new relic (http://newrelic.com/), chef (http://www.getchef.com/chef/) / puppet (http://puppetlabs.com/) Ville -----Alkuperäinen viesti----- Lähettäjä: Geoff Callender [mailto:geoff.callender.jumpst...@gmail.com] Lähetetty: 14. maaliskuuta 2014 2:30 Vastaanottaja: Tapestry users Aihe: Re: tapestry + maven + jboss tools + hot deploying ? I've never had to operate a high-availability site, so I've not needed to deal with this. I've always had a maintenance window available. Some years ago I used to develop in JBoss with an expanded EAR, and hot deploy worked fine, with the usual caveat that eventually you'll get PermGen errors. Cheers, Geoff On 14/03/2014, at 5:32 AM, leandroaisp...@gmail.com wrote: > Hi all, > > I got the following scenario, > > - A Tapestry 5.3 web application called project A (contains tml files, > java pages files, and common web files) > - A Business logic project called B (Business services) > - A Model project called C (pojos with hibernate annotations and daos) > > - I manage project dependencies with Maven 2. > > - I deploy project from eclipse(Juno) using Jboss Tools(1.4.0) and > Jboss Tools Maven Integration(1.4.0) to a Wildfly 8.0.1 server . > > In order to deploy web application i have created a new server (jboss > server type). > I run my A project into the mentioned server. > > All is working fine except i want tml files changes to be taken on the > fly without the automatically re deploying of the application. > > Questions: > 1) Is there a way to change tml and java files on project A without > the need of redeploying the whole app?? > > The server configuration has an option to publish the project > (re-deploy) when a resource has changed. But it redeploys the whole > application also when i change tml files from project A. The worst > part is that session data get lost and i have to re login to application and complete forms again. > > If i chose "Never publish automatically" none of my changes are seen > by server. > > 2) If answer to question 1 is positive now i want to know if is there > a way to change and compile project B and C classes and see the > changes without redeployng web application? > > > 3) I know Tapestry's Jumpstart application works on JBoss/Wildfly does > anyone knows if T5's class reloading works in JBoss? > At least it's not working for me, Geoff do you have any thoughts on > this topic? > > cheers and thanks in advance! > > Leandro. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org