Thanx for that Fabiano
I am now able to get the reference to the jboss MBean server and discover the components running in jboss.
Is there any way I can find the dependencies of the discovered components using JMX programmatically?I hope jboss does it while it is starting.It will be very helpful to me if u can throw some light on that and suggest ur ideas.