I've been looking for ways to speedup tapestry startup time ....
Search through archive made it clear it is not simple, and it is limited. My setup is Eclipse Sysdeo tomcat plugin tomcat of course here are things I did and most people did too disabling template caching enable hot code replace reload app instead tomcat restart here is something I haven't seen on the mailing list, and it speeds up Hibernate Actualy it saves SessionFactory in a static variable which has lifecycle of the tomcat server instaead the lifecycle of my web app. The trick is in the class loader (which Howard reminded mi of in his blog on T5 dynamic reload) my hibernate initializatio code is moved into a separate lib which is put in tomcat common class loader, so when I reload my webapp, the SessionFactory stays in a static field in a class which is out of the webapp's classloader. I moved most of the libraries to tomcat common for this to work, separated all my data classes and hibernate.cfg.xml into a separate jar, excluded these classes and config from deployment in my web app. It works like a charm, but my app is small nad hibernate startup is 2 secs, and comparing to tapestry startup almost neglectible, but since I've headr people say their hibernate starts for 5-8 secs or so I thought this could help ease their pain. I do web app reload with ant script which calls tomcat manager/reload, and also calls my home page, so when ant script is done web app is initialized and I need not eait for init when I press refresh :) <get src="${managerUrl}/reload?path=/${app.name}" username="${managerUsername}" password="${managerPassword}" dest=" deploy-local-remove.txt"/> <concat><fileset dir="./" includes="deploy-local-remove.txt "/></concat> <get src="${host}/${app.name}/app?page=Home&service=page" dest="deploy-local-remove.txt" /> I'm wondering is such an approach being considered for tapestry 4.x, speeding up restart of tapestry, or reloading pages classes. T5 will come who knows when, even then there will be more than few T4 apps, so it is really so impossible to use the T5 approach to reloading pages classes (if not automatically, at least through RestartService). Davor Hrg