View Full Version : How can I needn't restart the web server after changed .java file.
Apr 20th, 2006, 10:41 AM
thx very much!
Apr 20th, 2006, 04:20 PM
this feature is also known as hot swap. You need at least jdk 1.4 to run the application on. Note that this functionality is not related to Spring - it is something that is supported by the underlying jvm. See your application container documentation for more information. Modern IDEs (like Eclipse) also support this as long as you run the container from them in debug mode.
Apr 20th, 2006, 04:23 PM
Another most common feature is reloading and most webcontainer support this no matter the jvm. You just have to configure it (usually it is turned on by default) and once you modify your code and update it inside the container, it will automatically pick up the change and reload the application.
For example: http://www.coreservlets.com/Apache-Tomcat-Tutorial/
Apr 20th, 2006, 09:41 PM
thx you very much.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.