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
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
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
And of course, if you can post back details, that would be really nice.
Vincent