Anyone have recommendations on managing lifecycle ...
# tornadofx
j
Anyone have recommendations on managing lifecycle of background services inside a JavaFX/tornadofx app? I see that I can override
start
and
stop
methods of
App
to potentially run initialization code there Looking for a clean way to hook into application start/stop for stateful services like database connections without causing any issues for JavaFX
@carlw Thanks, I'll take a look at those other callbacks. Do you use anything like Guava `Service`/`ServiceManager` for starting/stopping/managing the background stuff?