We're starting to get a few different set of libraries, and more will come, for example Zigbee and Sonos. I've already noticed issues with Java dependency hell. We should consider OSGi after all.
Pros:
Isolate dependencies, allow using the same libraries with different versions, etc.
If we use a container like Karaf, we have built in support for commands, that are easy to expose as services. We wouldn't have to maintain code for a SSH shell.
We're starting to get a few different set of libraries, and more will come, for example Zigbee and Sonos. I've already noticed issues with Java dependency hell. We should consider OSGi after all.
Pros: