Pulling out tomcat task/handler