Applied JSR 363 to TempMonitor example