Move the updater logic into a background thread in the webapp proper
jshook opened this issue · 2 comments
jshook commented
This app isn't far from being runnable as a full "webapp" without the need for a main()
Hooking the init() calls for jersey and spawning a background thread would be nice.
jshook commented
For inspiration, perhaps:
http://stackoverflow.com/questions/791986/background-thread-for-a-tomcat-servlet-app
But the Jersey container will be slightly different. I'll research the exact way if needed.
davefelcey commented
That's a nice idea