• Post Reply Bookmark Topic Watch Topic
  • New Topic

Quartz/Timer question with ejb3  RSS feed

Shane Lee
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic 10.3.2
JDK 1.6

I have an enterprise ejb 3.0 application that deploys on weblogic 10. I have no front end just back end. I need to setup quartz/timer at startup to schedule a job via cron trigger, this job is a method invoked on one of my stateless session beans to browse a jms queue.

From all links/references on quartz and looking at ejb timer, i cant see how i can do this without having front end (web.xml) or scheduling the job myself manually somehow.

I see in ejb 3.1 there exists an auto timer that runs from the time the bean is deployed. All you need is a @Schedule annotation on the method, how easy is that!

Can anyone explain how in my application i can setup a startup class to configure the quartz scheduler or achieve my goal?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!