The Artima Developer Community
Sponsored Link

News & Ideas Forum (Closed for new topic posts)
Coding Your Own Standard and Dynamic MBeans

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Bill Venners

Posts: 2284
Nickname: bv
Registered: Jan, 2002

Coding Your Own Standard and Dynamic MBeans Posted: Nov 6, 2002 10:03 PM
Reply to this message Reply
Advertisement
Sing Li writes, "Standard MBeans are great for quick instrumentation, but not adaptable to changes. Dynamic MBeans are resilient to change of attributes, operations, and events exposed; however, programming them requires a little more effort. Using model MBeans gives the best of both worlds."

IBM DeveloperWorks has published part II of Sing Li's tutorial on JMX and MBeans, From Black Boxes to Enterprises.

http://www-106.ibm.com/developerworks/java/library/j-jmx2/

Here's an excerpt:

When you add instrumentation to an existing device or software service, you typically have a choice of using a standard MBean or dynamic MBeans, including model MBeans. Standard MBeans are great for quick instrumentation, but not adaptable to changes. Dynamic MBeans are resilient to change of attributes, operations, and events exposed; however, programming them requires a little more effort. Using model MBeans gives the best of both worlds by enabling adaptive change without extensive coding and testing.

What kind of MBeans do you prefer?

Topic: Test-First Design, Exploratory Testing, and Agile Process Previous Topic   Next Topic Topic: The Pet Shop Boys

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use