If you need cross-platform you probably won’t need Kubernetes. To a certain extent Docker feels like a defeat for people like me that worked so hard to make OSGi/Java as cross platform as possible. I do feel we solved most of the problems and there are many proof points that it actually does work.
Docker is the revenge of the messy people. Working with Java/OSGi requires that a lot of things are done right while Docker allows you to create an identical mess on any other computer. I do believe that there is value in doing it right but it is a rather feeble argument once you see how much complexity is removed from the picture. So in JPM I experimented with winrun4j for the windows services. I know it worked once but it had very little loving care in the last few years, and true, I do detest windows so the urge to work with the \ is very low on my side. So jpm4j clearly had the incentive to do exactly what you want for cross-platform deploys. It seems to work quite well for commands but it did also have a service model. It works for MacOS and Linux as far as I know. So feel free to experiment with jpm4j this purpose. All its code is in the bnd repository, including winrun4j. I gladly accept PRs are provide feedback if you’re willing to put some time in it. Then again, my personal focus is very much on Kubernetes because it seems that most software in the future is either in the cloud or in the browser. Kind regards, Peter Kriens > On 22 jul. 2016, at 22:44, Paul F Fraser <pa...@a2zliving.com> wrote: > > In asking about things like Java Service Wrapper for auto restart of an > executable jar created from bndtools it seems that the world may have moved > on. > > I do not understand why there has not been more discussion about OSGi > restarts after a reboot as the normal (not developer) user of a system, > especially Windows, just expects the services to be available. > > Dropbox is an example of a service that users just expect to be there, and it > is. > > I think Karaf uses the old open version of jsw seemingly without any hassles. > > But I tend to agree with Neil Bartlett when he suggests it may be better to > stay away from prescriptive frameworks like Karaf. (that was his view a few > years ago). > > Peter has mentioned Docker, a technology I have avoided until now, and > Kubernetes. I have been comfortable until now in the bndtools world. > > The Kubernetes site mentions self-healing so I presume this is the process > which covers the reboot requirement. > > Oh well, just new technology to learn! One day I will solve some problems. > > Paul Fraser > _______________________________________________ > OSGi Developer Mail List > osgi-dev@mail.osgi.org > https://mail.osgi.org/mailman/listinfo/osgi-dev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev