<s>
Java	B-Language
Management	I-Language
Extensions	I-Language
(	O
JMX	O
)	O
is	O
a	O
Java	B-Device
technology	I-Device
that	O
supplies	O
tools	O
for	O
managing	O
and	O
monitoring	O
applications	O
,	O
system	O
objects	O
,	O
devices	O
(	O
such	O
as	O
printers	O
)	O
and	O
service-oriented	O
networks	O
.	O
</s>
<s>
Those	O
resources	O
are	O
represented	O
by	O
objects	O
called	O
MBeans	B-Language
(	O
for	O
Managed	O
Bean	O
)	O
.	O
</s>
<s>
Managing	O
and	O
monitoring	O
applications	O
can	O
be	O
designed	O
and	O
developed	O
using	O
the	O
Java	B-Device
Dynamic	O
Management	O
Kit	O
.	O
</s>
<s>
JSR	O
003	O
of	O
the	O
Java	B-Language
Community	I-Language
Process	I-Language
defined	O
JMX	O
1.0	O
,	O
1.1	O
and	O
1.2	O
.	O
</s>
<s>
JMX	O
2.0	O
was	O
being	O
developed	O
under	O
JSR	B-Language
255	I-Language
,	O
but	O
this	O
JSR	O
was	O
subsequently	O
withdrawn	O
.	O
</s>
<s>
The	O
JMX	O
Remote	O
API	O
1.0	O
for	O
remote	O
management	O
and	O
monitoring	O
is	O
specified	O
by	O
JSR	B-Language
160	I-Language
.	O
</s>
<s>
Adopted	O
early	O
on	O
by	O
the	O
J2EE	B-Language
community	O
,	O
JMX	O
has	O
been	O
a	O
part	O
of	O
J2SE	B-Language
since	O
version	O
5.0	O
.	O
</s>
<s>
"	O
JMX	O
"	O
is	O
a	O
trademark	O
of	O
Oracle	B-Application
Corporation	I-Application
.	O
</s>
<s>
It	O
acts	O
as	O
an	O
intermediary	O
between	O
the	O
MBean	B-Language
and	O
the	O
applications	O
.	O
</s>
<s>
A	O
connector	O
provides	O
full	O
remote	O
access	O
to	O
the	O
MBeanServer	O
API	O
using	O
various	O
communication	O
(	O
RMI	B-Language
,	O
IIOP	B-Operating_System
,	O
JMS	B-Language
,	O
WS-*	O
…	O
)	O
,	O
while	O
an	O
adaptor	O
adapts	O
the	O
API	O
to	O
another	O
protocol	O
(	O
SNMP	B-Protocol
,	O
…	O
)	O
or	O
to	O
Web-based	O
GUI	O
(	O
HTML/HTTP	O
,	O
WML/HTTP	O
,	O
…	O
)	O
.	O
</s>
<s>
Applications	O
can	O
be	O
generic	O
consoles	O
(	O
such	O
as	O
JConsole	B-Language
and	O
MC4J	B-Language
)	O
or	O
domain-specific	O
(	O
monitoring	O
)	O
applications	O
.	O
</s>
<s>
External	O
applications	O
can	O
interact	O
with	O
the	O
MBeans	B-Language
through	O
the	O
use	O
of	O
JMX	O
connectors	O
and	O
protocol	O
adapters	O
.	O
</s>
<s>
Connectors	O
serve	O
to	O
connect	O
an	O
agent	O
with	O
a	O
remote	O
JMX-enabled	O
management	O
application	B-Application
.	O
</s>
<s>
This	O
form	O
of	O
communication	O
involves	O
a	O
connector	O
in	O
the	O
JMX	O
agent	O
and	O
a	O
connector	O
client	O
in	O
the	O
management	O
application	B-Application
.	O
</s>
<s>
A	O
managed	O
bean	O
–	O
sometimes	O
simply	O
referred	O
to	O
as	O
an	O
MBean	B-Language
–	O
is	O
a	O
type	O
of	O
JavaBean	O
,	O
created	O
with	O
dependency	B-Library
injection	I-Library
.	O
</s>
<s>
Managed	O
Beans	O
are	O
particularly	O
used	O
in	O
the	O
Java	B-Language
Management	I-Language
Extensions	I-Language
technology	O
–	O
but	O
with	O
Java	B-Language
EE	I-Language
6	I-Language
the	O
specification	O
provides	O
for	O
a	O
more	O
detailed	O
meaning	O
of	O
a	O
managed	O
bean	O
.	O
</s>
<s>
The	O
MBean	B-Language
represents	O
a	O
resource	O
running	O
in	O
the	O
Java	B-Language
virtual	I-Language
machine	I-Language
,	O
such	O
as	O
an	O
application	B-Application
or	O
a	O
Java	B-Language
EE	I-Language
technical	O
service	O
(	O
transactional	O
monitor	O
,	O
JDBC	O
driver	O
,	O
etc	O
.	O
)	O
.	O
</s>
<s>
They	O
can	O
be	O
used	O
for	O
collecting	O
statistics	O
on	O
concerns	O
like	O
performance	O
,	O
resources	O
usage	O
,	O
or	O
problems	O
(	O
pull	O
)	O
;	O
for	O
getting	O
and	O
setting	O
application	B-Application
configurations	O
or	O
properties	O
(	O
push/pull	O
)	O
;	O
and	O
notifying	O
events	O
like	O
faults	O
or	O
state	O
changes	O
(	O
push	O
)	O
.	O
</s>
<s>
Java	B-Language
EE	I-Language
6	I-Language
provides	O
that	O
a	O
managed	O
bean	O
is	O
a	O
bean	O
that	O
is	O
implemented	O
by	O
a	O
Java	B-Device
class	O
,	O
which	O
is	O
called	O
its	O
bean	O
class	O
.	O
</s>
<s>
A	O
top-level	O
Java	B-Device
class	O
is	O
a	O
managed	O
bean	O
if	O
it	O
is	O
defined	O
to	O
be	O
a	O
managed	O
bean	O
by	O
any	O
other	O
Java	B-Language
EE	I-Language
technology	O
specification	O
(	O
for	O
example	O
,	O
the	O
JavaServer	B-Language
Faces	I-Language
technology	O
specification	O
)	O
,	O
or	O
if	O
it	O
meets	O
all	O
of	O
the	O
following	O
conditions	O
:	O
</s>
<s>
It	O
is	O
not	O
annotated	O
with	O
an	O
EJB	O
component-defining	O
annotation	O
or	O
declared	O
as	O
an	O
EJB	O
bean	O
class	O
in	O
ejb-jar.xml	O
.	O
</s>
<s>
A	O
MBean	B-Language
can	O
notify	O
the	O
MBeanServer	O
of	O
its	O
internal	O
changes	O
(	O
for	O
the	O
attributes	O
)	O
by	O
implementing	O
the	O
javax.management.NotificationEmitter	O
.	O
</s>
<s>
The	O
application	B-Application
interested	O
in	O
the	O
MBean	B-Language
's	O
changes	O
registers	O
a	O
listener	O
(	O
javax.management.NotificationListener	O
)	O
to	O
the	O
MBeanServer	O
.	O
</s>
<s>
There	O
are	O
two	O
basic	O
types	O
of	O
MBean	B-Language
:	O
</s>
<s>
Standard	O
MBeans	B-Language
implement	O
a	O
business	O
interface	O
containing	O
setters	O
and	O
getters	O
for	O
the	O
attributes	O
and	O
the	O
operations	O
(	O
i.e.	O
,	O
methods	O
)	O
.	O
</s>
<s>
Dynamic	O
MBeans	B-Language
implement	O
the	O
javax.management.DynamicMBean	O
interface	O
that	O
provides	O
a	O
way	O
to	O
list	O
the	O
attributes	O
and	O
operations	O
,	O
and	O
to	O
get	O
and	O
set	O
the	O
attribute	O
values	O
.	O
</s>
<s>
Additional	O
types	O
are	O
Open	O
MBeans	B-Language
,	O
Model	O
MBeans	B-Language
and	O
Monitor	O
MBeans	B-Language
.	O
</s>
<s>
Open	O
MBeans	B-Language
are	O
dynamic	O
MBeans	B-Language
that	O
rely	O
on	O
the	O
basic	O
data	O
types	O
.	O
</s>
<s>
Model	O
MBeans	B-Language
are	O
dynamic	O
MBeans	B-Language
that	O
can	O
be	O
configured	O
during	O
runtime	O
.	O
</s>
<s>
A	O
generic	O
MBean	B-Language
class	O
is	O
also	O
provided	O
for	O
dynamically	O
configuring	O
the	O
resources	O
during	O
program	O
runtime	O
.	O
</s>
<s>
A	O
MXBean	O
(	O
Platform	O
MBean	B-Language
)	O
is	O
a	O
special	O
type	O
of	O
MBean	B-Language
that	O
reifies	O
Java	B-Language
virtual	I-Language
machine	I-Language
subsystems	O
such	O
as	O
garbage	B-General_Concept
collection	I-General_Concept
,	O
JIT	O
compilation	O
,	O
memory	B-General_Concept
pools	I-General_Concept
,	O
multi-threading	B-Operating_System
,	O
etc	O
.	O
</s>
<s>
A	O
MLet	O
(	O
Management	O
applet	O
)	O
is	O
a	O
utility	O
MBean	B-Language
to	O
load	O
,	O
instantiate	O
and	O
register	O
MBeans	B-Language
in	O
a	O
MBeanServer	O
from	O
an	O
XML	B-Protocol
description	O
.	O
</s>
<s>
The	O
format	O
of	O
the	O
XML	B-Protocol
descriptor	O
is	O
:	O
</s>
<s>
JMX	O
is	O
supported	O
by	O
Java	B-Device
application	B-Application
servers	I-Application
such	O
as	O
OpenCloud	O
Rhino	O
Application	B-Application
Server	I-Application
,	O
JBoss	B-Language
,	O
JOnAS	B-Language
,	O
WebSphere	B-Language
Application	I-Language
Server	I-Language
,	O
WebLogic	B-Language
,	O
SAP	B-Language
NetWeaver	I-Language
Application	I-Language
Server	I-Language
,	O
Oracle	B-Language
Application	I-Language
Server	I-Language
10g	I-Language
and	O
Sun	B-Language
Java	I-Language
System	I-Language
Application	I-Language
Server	I-Language
.	O
</s>
<s>
Systems	B-Application
management	I-Application
tools	O
that	O
support	O
the	O
protocol	O
include	O
Empirix	O
OneSight	O
,	O
GroundWork	O
Monitor	O
,	O
Hyperic	O
,	O
HP	B-Application
OpenView	I-Application
,	O
IBM	B-Application
Director	I-Application
,	O
ITRS	O
Geneos	O
,	O
Nimsoft	B-Protocol
NMS	I-Protocol
,	O
OpenNMS	B-Language
,	O
Zabbix	B-Protocol
,	O
Zenoss	B-Protocol
Core	I-Protocol
,	O
and	O
Zyrion	O
,	O
SolarWinds	B-Operating_System
,	O
,	O
and	O
LogicMonitor	O
.	O
</s>
<s>
JMX	O
is	O
also	O
supported	O
by	O
servlet	B-Application
containers	I-Application
such	O
as	O
Apache	B-Language
Tomcat	I-Language
.	O
</s>
<s>
MX4J	B-Language
is	O
Open	O
Source	O
JMX	O
for	O
Enterprise	O
Computing	O
.	O
</s>
<s>
snmpAdaptor4j	O
is	O
an	O
open	O
source	O
providing	O
a	O
simple	O
access	O
to	O
MBeans	B-Language
via	O
the	O
SNMP	B-Protocol
protocol	O
.	O
</s>
<s>
Prometheus	B-Language
can	O
ingest	O
JMX	O
data	O
via	O
the	O
JMX	O
exporter	O
which	O
exposes	O
metrics	O
in	O
Prometheus	B-Language
format	O
.	O
</s>
<s>
is	O
a	O
j2ee	B-Language
application	B-Application
which	O
exposes	O
JMX	O
over	O
HTTP	B-Protocol
.	I-Protocol
</s>
