I'm using Eclipse and Tomcat to develop my app. Every time I update (and build) a single class the tomcat reload's it's application context. This is so boring because I have to wait almost 90 seconds for the reload, is there a way to avoid such thing?
The same time... Our application uses Struts (with Tiles), Spring (for IoC) and Hibernate... We have *only* 73 hibernate entities. Once I saw somebody changing a class in the GUI editor (it was Eclipse) and after build it the changes were reflected automatically in the servlet container (the tomcat) without any context reload.
Are you sure it was a class running in Tomcat? I don't know of anyway to reload individual classes without reloading the app.
Wagner Danda Da Silva Filho
Joined: Mar 21, 2003
Hey, I just found it!
I've acidentally changed the property "reloadable" to false in my tomcat context file and voil�, every time I build the changes the tomcat JVM is automatically updated!
I'm using MyEclipse and I really don't know how it does that, but its awesome! Maybe this is working only because I have started tomcat inside the IDE, and the might be sharing the same ClassLoader... Whooo, that a great feature!
I'll try at home the same feature using my free environment: Eclipse + Sysdeo.