推荐一个商业产品- javarebel, 可以试用几天, 它真正实现了hot swap.
可以不重启服务器, 改了类直接生效。
官方网站
http://www.zeroturnaround.com/javarebel/
特性:
Creating new classes
Changing method bodies
Adding/removing methods
Adding/removing constructors
Adding/removing fields
Overriding methods
Changing method or field types
Changing interfaces