Module
JMX - Beta UI Specification
Authors: Alexandre Neubert, Thomas leveque, Jean-Francois Denise
I18N
All localized
strings will be in bundle.properties.
JMX
Sample Application
Based on Anagrams game. Delivered in the "Anagrams way" (zip file of
existing tuned project)
Category: Samples/Management
Projects: Anagram Game Managed
with JMX
Access to the wizards
Steps to
follow:
1.
Select
File > New File...
Start
JConsole action [Sun JDK 1.5 only]
A simple action to launch JConsole from menu. JConsole process is
forked. JConsole is displayed in its own window.
Select
Run>Start JConsole...
Or click on the following toolbar button :
Some configuration settings are provided under
Tools>Options>Server and External
Tool Settings>JConsole. The set of parameter is
derivated from JConsole command line arguments :
Main project related actions [Sun
JDK 1.5 only]
Such actions are integrated in the project at the ant building level.
When an action is first called, a popup window is displayed to inform
the user that project build.xml file will be updated :
Actions provided to test current
project with JConsole :
- Run Main Project with JConsole...
. Similar to Run action
adding auto connect of JConsole to the running process.
- Debug Main Project with
JConsole... . Similar to Debug
action adding auto connect of JConsole to the running process.
These actions are callable from
Run
menu. The following buttons are added to the toolbar:
Actions provided to test current
project with any Manager application (JConsole beeing possibly used)
- Run Main Project with Remote
Management... . Similar to Run
action adding JDK 1.5 Management activation. JConsole is optionaly auto
connected.
- Debug Main Project with Remote
Management... . Similar to Debug
action adding JDK 1.5 Management activation. JConsole is optionaly auto
connected.
A user input is needed when calling these actions :
- An RMI port or
- A Management properties file. The current project root dir is the
default location.
Such informations are persisted as System Options.
A popup window is displayed to the user in order for him to do the
selection :