This content has been marked as final.
Show 2 replies
-
1. Re: Schedule an EJB method
nickman Jun 16, 2004 10:03 AM (in response to khem)kehm;
We do this by implementing a simple MBean which is an EJB client. Quartz will invoke an exposed operation on the MBean which in turn will look up the EJB Home, get the remote/local and call the method. If you have parameters that need to be passed, you could store them in the DB or an XML file somewhere.
//Nicholas -
2. Re: Schedule an EJB method
khem Jun 21, 2004 4:24 AM (in response to khem)Hi,
We do this by implementing a simple MBean which is an EJB client.
How do you do that? can you post some code and how deploy the mbean?
Otherwise, i downloaded quartz and took a look into it. There s a quartz.jar in lib directory. When I place this jar in jboss deploy directory, it successfully deploys a "quartz service".
But at this point, I don t know how to schedule my ejb method (my ejb is already deployed in jboss).
Can anyone help me plz ....
Thx