Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Autonomic Computing Expression Language

Dakshi Agrawal, Research Staff Member, IBM
Dakshi Agrawal is a Research Staff Member at the IBM T. J. Watson Research Center. Dr. Agrawal received a Ph.D. in Electrical Engineering in 1999 from the University of Illinois at Urbana-Champaign (UIUC). He worked as a Visiting Assistant Professor at UIUC before joining the IBM T. J. Watson Research Center. Dr. Agrawal has more than 30 publications in international conferences and journals in the area of digital communication theory, distributed computing systems, and digital security and privacy. View his Web site at http://www.research.ibm.com/people/a/agrawal. Dakshi Agrawal, James Giles, and Kang-Won Lee were core contributors to the development of the Policy Management Toolkit for the IBM Autonomic Computing Initiative, and received an IBM Research Division Award and Invention Achievement Award for this contribution.
James Giles, Assistant Professor, University of Evansville, Indiana
James Giles is an assistant professor of Electrical Engineering/Computer Science at the University of Evansville, Indiana. He was a research staff member at the IBM T. J. Watson Research Center from 2000-2004. Dr. Giles received a Ph.D. in Electrical Engineering in 2000 from the University of Illinois at Urbana-Champaign (UIUC). He has published many technical articles in international conferences and journals in the area of digital communications, networking, distributed computing, and computer security. View his Web site at http://www.research.ibm.com/people/g/gilesjam. Dakshi Agrawal, James Giles, and Kang-Won Lee were core contributors to the development of the Policy Management Toolkit for the IBM Autonomic Computing Initiative, and received an IBM Research Division Award and Invention Achievement Award for this contribution.
Kang-Won Lee, Research Staff Member, IBM
Kang-Won Lee is a Research Staff Member at the IBM T. J. Watson Research Center. He is currently working on policy-based storage area network planning and verification. Dr. Lee received his Ph.D. in Computer Science from the University of Illinois at Urbana-Champaign in 2000. Dr. Lee has published more than 35 technical articles in premier journals and conferences in the area of computer networks, distributed systems, and policy-based systems management. View his Web site at http://www.research.ibm.com/people/k/kangwon. Dakshi Agrawal, James Giles, and Kang-Won Lee were core contributors to the development of the Policy Management Toolkit for the IBM Autonomic Computing Initiative, and received an IBM Research Division Award and Invention Achievement Award for this contribution.
Jorge Lobo, Research Staff Member, IBM
Jorge Lobo is a Research Staff Member at the IBM T. J. Watson Research Center. Prior to joining IBM he was a principal architect at Teltier Technologies. Before Teltier he was a tenured associate professor of Computer Science at the University of Illinois at Chicago and a member of the Network Computing Research Department at Bell Labs. At Teltier he developed a policy server for the availability management of Presence Servers. He also designed and codeveloped PDL, one of the first generic policy languages for network management. Dr. Lobo has more than 50 publications in international journals and conferences in the areas of networks, databases and artificial intelligence. He is co-author of a Massachusetts Institute of Technology (MIT) book on logic programming and is the cofounder and a member of the steering committee for the IEEE Policy Workshop. He has a Ph.D. in Computer Science from the University of Maryland. View his Web site at http://www.research.ibm.com/people/j/jlobo.

Summary:  This tutorial shows how to use Autonomic Computing Expression Language (ACEL) in your XML document. It takes a user step-by-step through the process of creating an XML document with ACEL expressions, parsing the XML document, and evaluating ACEL expressions contained in the XML document.

Date:  28 Feb 2005
Level:  Introductory

Activity:  5222 views
Comments:  

Before you start

About this tutorial

This tutorial shows how to use the Autonomic Computing Expression Language (ACEL), an XML-based expression language, to create an expression, parse it, prepare input for it, and evaluate it. ACEL was originally developed as a part of the Autonomic Computing Policy Language to describe conditions when a policy should be applied to a managed system. To learn more about how policies can be used to manage an IT system, download IBM® Policy Management for Autonomic Computing (PMAC) from alphaWorks. (See Resources for more information.) However, ACEL is applicable in many other contexts such as specifying service level agreements, pricing, scheduling, and provisioning of services. In general, ACEL can be used to specify various types of expressions (numeric expression, Boolean expression, string expression, and so on) in XML documents.

The distinguishing features of ACEL are:

  • ACEL provides a rich set of datatypes and functions, allowing a simple representation of most expressions required for system management.
  • ACEL is a strongly typed language, and its XML schema enforces most of the type constraints. As a result, ACEL expressions can be validated in plain XML editors to allow easy authoring of ACEL expressions.
  • ACEL can be extended by a deployer such that it retains its typed property. Therefore, even the extended ACEL expressions can be validated in a plain XML editor.
  • ACEL includes a comprehensive time zone specification, with date and time values allowing unambiguous treatment of time instances even in the presence of daylight saving time.

Prerequisites

This tutorial is for an intermediate-level software developer who wants to acquire knowledge of how to embed ACEL expressions in XML files and use them for various applications such as business rules and policy management. The prerequisites for taking the tutorial are a basic knowledge of Java programming and a general understanding of XML schema and processing. You can download the examples in this tutorial, the ACEL JAR file, and the companion document ACEL User's Guide , which presents the complete syntax and semantics of the ACEL expressions with examples. See Resources for more information.

To run the examples in this tutorial, you must install the Java Runtime Environment (JRE) Version 1.4.x. See Resources for links to appropriate run-time environments.

The specific examples in the tutorial are written for IBM WebSphere® Studio Application Developer (Application Developer). You can download a trial version of IBM WebSphere Studio Application Developer. Other Java programming environments can be used, but the required steps might be different than those shown in the tutorial.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Tivoli
ArticleID=129345
TutorialTitle=Autonomic Computing Expression Language
publish-date=02282005
author1-email=
author1-email-cc=
author2-email=
author2-email-cc=
author3-email=
author3-email-cc=
author4-email=
author4-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Try IBM PureSystems. No charge.