« The Experimental Update Site is Now Online! | Main | JRockit Mission Control @ OOW 2009 »

Using the PDE Wizard

With the new Experimental Update site, there are now PDE plug-ins for extending the JRockit Mission Control Console. The wizards greatly reduces the time needed to start writing your own tabs, actions and constraints.

This is basically a very short tutorial on how to use them.

Install the PDE plug-ins

  1. First make sure you have Eclipse 3.3 or 3.4 installed.
    You will need the plug-in builder edition.
  2. Next make sure that you have installed JRockit Mission Control 3.1.0 into your Eclipse.
    The update site is here: http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/base/3.1.0/eclipse/index.html
  3. Next install the PDE plug-ins from the experimental update site.
    The experimental update site is here:
    http://www.oracle.com/technology/software/products/jrockit/missioncontrol/updates/experimental/3.1.0/eclipse/index.html

Worth noting here is that if you fall for the temptation to also include the JConsole meta plug-in from the experimental update site, you need to be running your Eclipse on a JRockit 1.6 based JVM for the plug-in to work.

Creating a JRockit Mission Control Console PDE project

In this example we’ll create an additional tab in the JRockit Mission Control console. The tab will subscribe to one or more values from the JVM, depending on which wizard you choose.

  1. Create a new Plug-in project by selecting File->New->Project… and then selecting Plug-in Project.
    If that alternative is not available to you, ensure that you have installed the Plug-in Builder version of Eclipse.
  2. Name your Plug-In Project by entering the Project Name in the New Plug-in Project Wizard. Then click next.
    (e.g. com.example.mc.testtab)
  3. Review the details in the Plug-in Content page and then click next.
  4. Select either the Mission Control Complex or Simple Tab wizard.
  5. Review the details in the tab wizard, then click finish.

You now have a project which should compile properly. The plug-in adds a tab to the JRockit Mission Control Console. There are other wizards, for instance one that add actions to the triggers tab in the the JRockit Mission Control Console.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mt/mt-tb.cgi/11707

About This Entry

This page contains a single entry from the blog posted on May 7, 2009 4:35 PM.

The previous post in this blog was The Experimental Update Site is Now Online!.

The next post in this blog is JRockit Mission Control @ OOW 2009.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle