Although i am a beginner in java programming my question has to deal with java workers as it is shown below:

I want to establish a program that uses ant and muse libraries, runs on tomcat, sends a request to web service and retrives it's response in every 10 seconds. The code needs to be run under tomcat by a jsp or html file and the response from the web service should be retrieved by web workers.

As i don't have any advance experience with java workers etc can you suggest me any book dealing with the aforementioned requirements or any general directions to start with?

thanks in advance