I've noticed that many open source projects use jsvc (the apache commons daemon) for wrapping a java program in a service. I've seen several ways of including it, as source or with binaries for common environments. Is source a preferred method?

1

There are 1 answers

0
Sean Busbey On BEST ANSWER

Unless you have a well defined set of supported platforms (e.g. like Apache BigTop) then you are better off sticking with source packaging.

Especially when JVSC is built with shared libraries, keeping your bundled binaries compatible across platforms is going to be a larger headache than it's worth. For a case study in this difficulty, you can read the problems Hadoop ran into when it attempted to bundle JVSC (they opted to skip even including source and went with requiring external installation)