This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

spring 3 with quartz scheduler - annotation driven  RSS feed

 
Maciej Opala
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to integrate spring 3.0 with quartz (because the application works in clustered environment) but only using annotations - there's no xml configuration. The problem is that that I don't know how to start.

There're five cron tasks that need to be scheduled. I guess that what I need to do is to declare a sort of the component (that would be scheduler) with all tasks autowired to this component - the problem is that I don't know how to indicate an init method for the component (with annotations). There's also SchedulerFactoryBean but I don't know how to make use of it.

Any help would be greatly appreciated.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!