How quartz would start EJB stateless component?

I don't fully understand your question - or rather I am guessing that there is more than one question here, but I don't quite follow the language of it, as you seem to be using the word "trigger" (a quartz term) in more than one way.

I don't fully understand your question - or rather I am guessing that there is more than one question here, but I don't quite follow the language of it, as you seem to be using the word "trigger" (a quartz term) in more than one way. At any rate, there is one of your questions that I can clearly understand and answer, and that is how to get quartz to invoke a method on your EJB. Simply write a Job class that contains code in its execute() method that knows how to lookup and invoke that EJB.

Then scheduler and instance of that job, and whenever it fires it will invoke the EJB. Quartz actually ships with an EJBInvokerJob that does just that, so you may be able to use it without modification, or may want to use its source code as your starting point. (Note that the Job quartz ships with invokes EJB v.2 beans.

However, there is class available for invoking EJB3 beans, which you can download here: jira.opensymphony.com/browse/QUARTZ-732) Your other question about the mbean and servlet you need to restate, as it confuses me why you would be using both mechanisms.

– rayman Feb 6 at 13:46 please look at the examples that ship with quartz and/or the tutorial on the quartz website.It's really not hard. Quartz-scheduler. Org/docs – jhouse Feb 6 at 14:49 you gave me url which is not working – rayman Feb 8 at 7:55 Also it's all written how to schedule a job.

Thats not the prob. Mybe prob is to trigger that job on application-deploy. I cant find any document about that.

– rayman Feb 8 at 8:20.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions