But what will I have to do to avoid using a continously running thread that will check whether any value has arrived from the servlet.
1) How to check the headers for any update? Should I send back a simple string "yes" or "no" as indicator of whether to proceed further and readObject or not?
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earthhttps://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter