This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Using threads in EJBs is not considered good practice. In a servlet, I've seen it. I wouldn't call it good practice, but there are a couple uses. All of which can now be replaced with AJAX or queues.
I think the real question is whether thread.sleep is the best way for what you are trying to accomplish. Feel free to give an example.
Joined: Aug 05, 2007
I am aware that some web application servers have schedulers that fulfill the same functionality. I know that WAS does for example. Is there any simpler solution. What I am trying to achieve here is automatically retrieve some rss feed every specified time interval. Thanks again. [ April 14, 2008: Message edited by: Raef Kandeel ]