java app that tracks total number of active threads, stores data in a mysql server and displays through a groovy/grails webapp