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:
The agent is running on a machine that you can access by using the HTTP protocol
The compiled MBean classes are stored at a location
specified in the CLASSPATH
environment
variable of the agent
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:
host is the host name of the machine on which the agent is running
port is the port number used by the HTML adaptor in the agent; the default port number is 8082
The HTML page displayed is generated by the HTML adaptor and enables you to perform the following operations on MBeans in the agent: