Hi Devs/Thomas,
I've just realized that we now have a new job module in commons….
I don't recall seeing a proposal/vote on this but I may just have missed it.
I would like to be sure we have considered existing libraries before deciding to full
recode it.
I've done a very quick google search and I can see for example:
*
http://www.eclipse.org/articles/Article-Concurrency/jobs-api.html for example
*
http://stackoverflow.com/questions/8738160/eclipse-jobs-api-for-a-stand-alo…
says it can be used standalone
Also there are lots of job/scheduling apis at:
*
http://java-source.net/open-source/job-schedulers
I think having our own interface is ok (to be independent of any underlying
implementation) but we also have our own implementation now too.
Something to consider for example is that right now our Scheduler module uses the Quartz
API and when we rewrite it I guess the idea will be to use this new job module, right?
Thus I assume we'll need to write a "Quartz bridge" to transform XWiki Job
instances into Quartz Job instances so that we can execute them with Quartz. Or maybe the
integration would be at a different level, in the Job Manager?
In any case I'd like to see a bit more information on this job module and be confident
that we have thought about all this and documented it on
extensions.xwiki.org.
Thanks
-Vincent