This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
The best 'hotdeploy' happens at jvm level and there Spring or any other application has nothing to do with this feature - you just enable the debug mode on the jvm and usually though some IDE (like Eclipse) simply rebuild your classes and the IDE will take care of deploying them into the VM.
However, there are cases where you want to implement 'hot deploy' yourself. Spring application context supports refresh() method which with the proper implementation can add/remove beans from the context. Moreover using HotSwappableTargetSource you can modify a target during its lifetime in a very transparent way.
See the forum - there have been some threads on the refresh method.