Use aide to achieve efficiencies, part 2nd: Building actual contact points

Source: Internet
Author: User

Introduction: This tutorial is the 2nd part of the series on AIDE, which will no longer discuss the basics of building contact points using the IBM AIDE Toolkit, but will discuss how to use events and IT management technologies (especially Java Management Extensions) and how to add value externally The Java tool connects to the autonomic computing contact point. I will focus on how to solve the problem of linking autonomic computing with external use of JMX tools.

Before you start

Learn what this tutorial contains and how to make the best use of this tutorial.

About this series

This tutorial is the 2nd part of a series of tutorials that will introduce the basic elements of the Ibm®autonomic integrated Development Environment (AIDE) Toolkit and Information Technology (IT) management, including events--managed systems to autonomously transfer weight to the manager One of the main methods to data.

This series of tutorials also contains a code-level description to illustrate how to include the Java™management Extensions (JMX) Application Programming Interface (API). This API provides a handy mechanism for extracting data from an entity that uses JMX tools and presenting it as part of an autonomous contact point.

This tutorial focuses on getting programmatic access to the JMX tools. As you will see, this step is critical when generating contact points that can access other non-JMX technologies. For AIDE new users, you will be able to deal with the complex details of the contact point technology more freely. As in the 1th part of this tutorial series, this tutorial will use the examples provided with the AIDE Toolkit as a basis.

In this tutorial, you will learn how to use events and JMX entities and include them in the autonomic computing contact point. Our main purpose is to expand your AIDE knowledge, provide more background on modeling management data, and learn how to bind external Java code to the contact point codebase.

The target audience for this series of tutorials is anyone with a certain Java programming knowledge and want to use AIDE technology to create the main components of IT management systems.

About this tutorial

This tutorial explains how to use the event and JMX tools with the AIDE Toolkit. In addition to the basics of part 1th, we will also describe how to connect contact points with actual managed entities and extract data from them into contact points. We provide the corresponding base code so that the contact point modifies the properties of one of the JMX entities. This tutorial is designed to provide you with a solid foundation of issues related to managed entities, such as attributes, getting and setting property values, and the primary role of notification in the IT field.

In this second tutorial, a common platform is still used: any platform that supports Eclipse, AIDE Toolkit, and Java 2 Platform Standard Edition (J2SE) V5.0. If the MICROSOFT®WINDOWS®XP is enough. All sample code is written and tested on a computer running Windows XP Professional with Service Pack 2 (SP2).

Prerequisite

The target audience for this tutorial is programmers with certain Java programming, Eclipse, JMX, and system management knowledge. The ability to use integrated development environments such as Eclipse (Integrated Development enviroment,ide) and various tools and plug-ins will be helpful, but not required. Detailed instructions are provided in this tutorial. Similarly, it is useful to have a basic understanding of the following components and technologies:

Jmx

Tools

Monitoring and management

These concepts will be described and demonstrated by the work code examples that follow.

All Java classes mentioned in this tutorial can be cut and copied from the Ac-aidetut2source.zip file (see download).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.