# Using Java Management Extensions (JMX) technology

Derby includes a set of MBeans (Managed Beans) and their attributes and operations, providing monitoring and management capabilities.

Before using the Derby MBeans, you should have a basic understanding of JMX technology. A good source of information is the "Monitoring and Management for the Java Platform" web page at http://docs.oracle.com/javase/7/docs/technotes/guides/management/ .

The Derby MBeans instrument one or more parts of a running Derby system. This instrumentation gives you real-time access to Derby-specific information and features from a host of your choice, if you configure your Java Virtual Machine (JVM) and the Derby security features to enable this access.

The Derby JMX features are automatically available when Derby is started in a JVM that supports the platform MBean server. Most versions of the Java SE platform support JMX technology.

You start Derby by loading the Derby embedded driver. If you are using the Derby Network Server, the embedded driver is automatically loaded in the server JVM when the server is started.

You may access the Derby MBeans by using an existing JMX client utility such as JConsole, or programmatically by writing your own Java code that uses JMX.

- Introduction to the Derby MBeans
  Derby provides the MBeans described in this section.
- Enabling and disabling JMX
  You can use JMX management and monitoring both locally and remotely.
- Using JConsole to access the Derby MBeans
  JConsole is a graphical JMX-compliant tool that is available in recent versions of the Oracle JDKs. JConsole enables you to monitor and manage Java applications and virtual machines on a local or remote machine.
- Using custom Java code to access the Derby MBeans
  In addition to using a tool like JConsole, you can also access the Derby MBeans from a Java application.
- Troubleshooting JMX connection issues
  If you experience problems connecting remotely to an MBean server using JMX, it may be helpful to obtain some tracing information.

Parent topic: Part One: Derby Server Guide
Related concepts
Derby in a multi-user environment
Using the Network Server with preexisting Derby applications
Managing the Derby Network Server
Managing the Derby Network Server remotely by using the servlet interface
Derby Network Server advanced topics
Related reference
Derby Network Server sample programs