Hi all. I want to generate reports automatically.For that i am using jboss AS scheduling (JMX timer) Service.But i want to pass schedule arguments dynamically rather than placing it in xml.can any one guide me how to pass those arguments from ui to xml.
Thanx for ur prompt reply. But can u send any online link or resource for how to create MBean server programtically and dynamically changing the values in mbean.
Look in the jboss app server guide under scheduler to learn about the scheduler mbean. MBeans can be created by getting a reference to the MBean server (from jndi) and calling the registerMBean method. I don't have a complete example to point you to, but a couple minutes in the jboss guide will show you everything.