I have a ServiceBean which is deployed on a JBoss instance on machine a under default server. The ServiceBean has a method called getStatistics(..) . I can see the bean in the jmx-console . as soon it starts it starts doing internal math and updates its private variables with some numbers.
How can i display the statistcs on my web application in the case of
1: A web applicaiton running on the same machine on same JBoss Instance
2: A web application running on the same machine on seperate instance of JBoss
3: A web application running on a different machine on network
any help will be appreciated.
Iam also facing same problem: in my case, the MBean is doing SFTP. We are able to use it from JBoss JMX console.
But while invoking through application, it throwing Illegal argument exception saying operation(method) not found.
Any help is appreciated.