Dynamically loadable and unloadable application modules in Java - how?

后端 未结 5 2017
醉酒成梦
醉酒成梦 2021-02-10 17:47

I\'m writing a server application which makes use of external modules. I would like to make them to be upgradeable without requiring server restart. How do I do that? I\'ve foun

5条回答
  •  时光取名叫无心
    2021-02-10 18:34

    It would at least require you to define your custom classloader... I don't see how can this be simpler than just using Felix, Equinox, Knoplerfish or any open source Osgi runtime to do the task. Maybe SpringDM is simpler...

提交回复
热议问题