i'm running my web app on tomcat 6.0.20. So whenever i edit a java file and compile it, i'm restarting tomcat to reload the class file. I know i can set reloadable = true in server.xml to do this. But. my colleague says we can't trust that option, it's better to restart tomcat. Is he right? should i restart it all the time?? Your suggestions are welcome!
|
feedback
|
|
Setting As the above poster mentioned (and this is common of all these test platforms) there is quite a runtime performance price for this behavior -- your class files will be recompiled into bytecode with every minor change; and the overhead of monitoring the You should, ideally, have two environments, a dev environment where | |||
|
feedback
|
|
You should not use reloadable in production. It has quite a runtime price. | |||
|
feedback
|