Getting Started with the Java Dynamic Management Kit 4.0

Testing MBeans With A Web Browser

After you have compiled your MBean classes, you are able to use a web browser to test them. You do this by connecting a web browser to a running agent (for example, the base agent), instantiating MBeans, and performing other operations on the MBean instances. Before connecting a web browser to an agent, make sure that:

To use a web browser to communicate with an agent, open the page given by the following URL in a web browser:

http://host:port

where:

The HTML page displayed is generated by the HTML adaptor and enables you to perform the following operations on MBeans in the agent: