This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Daemon Threads in J2EE  RSS feed

 
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)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!