I have a task of executing some piece of code to retrieve data from the database for specified time interval. I need to execute this process when jboss is started. I had already framed the piece of code to retrieve data from the database using quartz for time scheduling.
Additionally, I would be deploying the total project as a jar file. So the class functionality has to executed when it is a class.
Some one said me that can be achieved through the MBean's.
Can any one give me suggestions for me how to proceed....