Does Tigase support hot deployment?
Is it possible to replace some parts of Tigase without server restart?
For example, I have next parts:
some custom plugins which process stanza
Is it possible to replace all these parts on the fly, without server restart?
I found some OSGI examples:
Is it something that people can use for such purpose?
Added by Artur Hefczyc about 4 years ago
Tigase does support OSGi which allows you for a hot code swap, but it is really still an experimental feature. So you can try it but you do it at your own risk. It is not yet used on any production environment.
However, besides OSGi there are a few other options to update your code without service interruption:
Admin ad-hoc commands - you can of course update/reload/create new at run-time and no system restart is needed
Components - if you deploy components as external components, then, you can update them and restart without affecting the main server
In a cluster mode - you can restart one cluster node without restarting other node. You can organize the whole upgrade procedure, that it will be not noticeable to your users.