Announcement Announcement Module
Collapse
No announcement yet.
Is spring support hot deploy ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is spring support hot deploy ?

    Could some body give me some suggestions?

  • #2
    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.

    Comment

    Working...
    X