I've developed a simple class to perform a scheduled task using the mbean "org.jboss.varia.scheduler.Scheduler".
The scheduling works fine, the only problem I have at the moment is where do I define my datasource and set up the jndi.
I do have a *-ds.xml file in my deploy directory, but this is loaded after the scheduled task is started.
Any pointers would be much appreciated