Introduction: This tutorial is the 4th part of a series of tutorials that describes how to create contact points that map the notifications provided by the tool to their contact point peers. The previous tutorials in this series describe how to implement simple get and SET operations at the contact point. This tutorial will add notification processing to this end, and lay the groundwork for a more complete interaction between your point of contact and the underlying managed resource. You'll also learn how to programmatically manipulate a range of contact points, laying the groundwork for creating a simple autonomic manager.
Before you start
Learn what this tutorial contains and how to make the best use of this tutorial.
About this series
This series of tutorials describes the Ibm®autonomic integrated Development Environment (AIDE) Toolkit and Information Technology (information Technology, It) management key elements (from managed elements to self-management applications), this tutorial is the 4th part. The Autonomic management application can be considered at the top of the autonomic computing Management value chain (shown in Figure 1).
This series of tutorials contains a description of the code level 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. JMX is an important technology because it helps manage any Java entity, including from Java 2 Platform Micro Edition (J2ME) and Java 2 Platform Standard Edition (J2SE) until All entities of Java 2 Platform Enterprise Edition (ee).
This tutorial focuses on the use and integration of AIDE notifications with multiple contact points. The operation of multiple interconnect contact points based on Web services is a key component in increasing management value, and we will discuss this important topic (often called choreography) in detail.
Note: The term events and notifications I use are interchangeable.
As with the previous tutorials in this series, this tutorial will use the examples provided with the AIDE Toolkit as a basis. In this tutorial, you will learn how to use AIDE notifications, manipulate multiple contact points, and understand some of the main components of a simple autonomic manager. Our main purpose is to discuss more comprehensively the management work that facilitates the AIDE and autonomic computing environments. The target audience for this series of tutorials is anyone with certain Java programming knowledge and want to use the AIDE technology to create the key components of the IT management system (the entity, contact Point, and manager of the tool).
About this tutorial
This tutorial explains how to use AIDE notifications, manipulate multiple contact points, and understand some of the key elements of a simple autonomic manager. Based on the content of Parts 1th, 2nd and 3rd, this tutorial will introduce you to the Autonomic computing management value chain. The goal of this series of tutorials is to provide a solid foundation for addressing issues related to manager applications, contact points, and managed entities.
For this tutorial, the platform used is still a common platform: any platform that supports Eclipse, AIDE Toolkit, and J2SE V5.0. For example, 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 some knowledge of Java programming, Eclipse, and IT Systems management. 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. This tutorial is described in detail. Similarly, it is useful to have a basic understanding of the following components and technologies:
Jmx
Managed Entity Tools
Web Service Orchestration
Monitoring and management
All concepts are described and demonstrated by the following work code example.
All of the sample contact points and Java classes mentioned in this tutorial belong to the AIDE distribution version. Previous tutorials include other Java or JMX code that can be downloaded from a specified location. Therefore, if you have followed the previous tutorials in this series, you do not need to make any changes to this tutorial.