# j2eemanagement : example of Servlet accessing the MEJB (Management EJB)

This new version of the application allows testing management of several JOnAS servers running in a domain,
via JSR 160 MBeanServerConnections.
It also tests new domain management features and even Joram management.

To test domain management, you may start before running the servlet, at least a second server in the domain.
For example, if the current server's name is jonas, to start a second server named jonas1 in the current server's domain use:
jonas start -n jonas1 -Ddomain.name=jonas

Please give the domain name to be managed and then click to run the servlet.
(the default name for the domain is the current server's name)

Check the domain topology

Domain name:

Test cluster creation

Domain name:

Cluster name:

Add a new server to the domain (a server which is not running or which is running without the discovery service)

Domain name:

Cluster name:

Server name:

Connector server url:

Test server start

Domain name:

Daemon name:

Server name:

Test joram management features

Create a topic on a Joram server

Topic name:

Joram server id: