This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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....