## hawtio-jmx

This plugin provides JMX for hawtio

### Basic usage

#### Running this plugin locally

First clone the source

    git clone https://github.com/hawtio/hawtio-jmx
    cd hawtio-jmx

Next you'll need to [install NodeJS](http://nodejs.org/download/) and then install the default global npm dependencies:

    npm install -g bower gulp slush slush-hawtio-javascript slush-hawtio-typescript typescript

Then install all local nodejs packages and update bower dependencies via:

    npm install
    bower update

Then to run the web application:

    gulp

#### Install the bower package

`bower install --save hawtio-jmx`
## hawtio-jmx

This plugin provides JMX for hawtio

### Basic usage

#### Running this plugin locally

First clone the source

    git clone https://github.com/hawtio/hawtio-jmx
    cd hawtio-jmx

Next you'll need to [install NodeJS](http://nodejs.org/download/) and then install the default global npm dependencies:

    npm install -g bower gulp slush slush-hawtio-javascript slush-hawtio-typescript typescript

Then install all local nodejs packages and update bower dependencies via:

    npm install
    bower update

Then to run the web application:

    gulp

#### Install the bower package

`bower install --save hawtio-jmx`


#### To test with hawtio v1.x

When developing on hawtio-jmx you can run a JVM with the Java based hawtio 1.x web module. This allows the JMX plugin to have MBeans to work with.

If you do not have hawtio 1.x on your computer then you can clone it

    git clone git@github.com:hawtio/hawtio.git

To do so in another shell:

    cd hawtio
    cd hawtio-web
    mvn install
    mvn exec:java -DstartLR=false

Then when you run `gulp` then the hawtio-jmx web console will automatic detect the running JVM with hawtio 1.x and you have some MBeans to work with.

Add a little note to docs about the hawtio 1.x trick
Add a little note to docs about the hawtio 1.x trick
