Results 1 to 2 of 2

Thread: Is spring support hot deploy ?

  1. #1
    Join Date
    Jul 2005
    Posts
    24

    Default Is spring support hot deploy ?

    Could some body give me some suggestions?

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    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.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •