• Post Reply Bookmark Topic Watch Topic
  • New Topic

Daemon Threads in J2EE

 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I create and run a daemon threads in a J2EE server? I basically want certain services to be allowed only at certain times, e.g. some functions are only available Mon-Fri. I should imagine this is supported. How can I do this?
--Mark
 
Vladimir Ergovic
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have something called JCrontab I found it on freshmeat, the idea is to create thread in servlet's init method. But you should probably check this implementation (it is free but it has bugs)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!