java - Spin up a report collection node.js app for my executable -


i have java project runs long time since has lot of things churn through (controlling other subprocesses , all).

i display progress of executable on webpage can access period of execution of java executable.

how spin node.js server java excutable if java executable exits, server knows exit , save report information far somewhere. also, doing others have done before?

you set heartbeat (a signal java application), , have node app (as part of data processes java application, or separate message). when there no data, still need send heartbeat. long small message, not impact performance significantly.

then set node server shutdown (or restart), , write out exiting data, if heartbeat absent fixed amount of time.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -