[help] Quartz

3 posts / 0 new
Last post
atao
Offline
Joined: 10/15/2008
[help] Quartz

Vincent,

 

I'm trying to use Quartz scheduler, using Spring SchedulerFactoryBean.

My concern is about how to reattache entities from inside a job class launched by Quartz.

Have you already used Quartz with jSpresso? Any advice?

Regards

Pierre

vvandens
Offline
Joined: 05/29/2008
[help] Quartz

Hi Pierre,

What do you mean by "re-attach" ? Do you want something more than just re-using the entity classes (by finding fresh entities) from inside a Quartz job ?

I've never played with Quartz in relationship with Jspresso yet. However, a quick (and untested) idea might be to create a dedicated spring context that only contains the faceless part of the application (i.e. everything from the model up to the backend controller). This way, you should benefit from all the features you might need in an asynchronous job based on your application.

Again, this is just a starting point and if you wish to follow this direction, I will be glad to help fixing problems you might encounter.

 

Best,

Vincent

vvandens
Offline
Joined: 05/29/2008
[help] Quartz

And of course, if you can post back details, that would be really nice.

 

Vincent