slightly ot: java9 runtime images
danno.ferrin at oracle.com
Thu May 7 16:26:37 UTC 2015
I looked at the man pages, and it’s not there. That is strange because I remember working with the docs people to get them the info they needed.
The best docs are from my JavaOne presentation:
As far as java callbacks… the support is fairly basic at the moment. You own the JVM w/o a security sandbox so you can add standard shutdown hooks as well as other libraries that react to unix signals. Signals are non-standard as the current Java signal classes exist in sun.misc.*, hence they an internal API and will not be accessible in JDK 9 (without contortions).
For windows a custom service executable is created.
For Linux init.d scripts are added.
For Mac launchd is used.
> On May 7, 2015, at 8:04 AM, Tom Schindl <tom.schindl at bestsolution.at> wrote:
>> In 8u40 we added an option to install your application as service or daemon, so you can use the java packager to install your microsoervices.
> Interesting where is this documented - google did not show up any
> results? Do I get callbacks in my Java code to react on a shutdown request?
> Thomas Schindl, CTO
> BestSolution.at EDV Systemhaus GmbH
> Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
> Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
More information about the openjfx-dev