Dynamic vs Model MBeans

I'm having trouble understanding what features and advantages Model MBeans are offering compared to Dynamic MBeans? I would appreciate any examples of use.Also, there aren't any problems with combining several types of MBeans in the same application, right?
[273 byte] By [OGBa] at [2007-11-27 10:02:58]
# 1

> I'm having trouble understanding what features and

> advantages Model MBeans are offering compared to

> Dynamic MBeans? I would appreciate any examples of

> use.

Have a look at the JMX 1.2 specifcation doument for more detailed info.

Also, have a look at the JMX examples.

You can download all these from http://jcp.org/en/jsr/detail?id=3

> Also, there aren't any problems with combining

> several types of MBeans in the same application,

> right?

No problem at all. In fact when you access any MBean attribute or operation

through the MBean Server interface you don't see any difference.

Anyway, I encourage you to use Standard MBeans or the new MXBeans in

JDK 6 if you know the management interfaces beforehand.

http://java.sun.com/javase/6/docs/api/javax/management/MXBean.html

lmalventa at 2007-7-13 0:37:24 > top of Java-index,Core,Monitoring & Management...
# 2

Hi,

Looks like these posts were made for you ;-)

DynamicMBeans, ModelMBeans, and POJOs

http://blogs.sun.com/jmxetc/entry/dynamicmbeans%2C_modelmbeans%2C_and_pojos...

and also:

javax.management.StandardMBean: When And Why?

http://blogs.sun.com/jmxetc/entry/javax_management_standardmbean_when_and

Hope you find it useful,

Best regards,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

dfuchsa at 2007-7-13 0:37:24 > top of Java-index,Core,Monitoring & Management...