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]

Create a WSDM interface for an HTTP server using Apache Muse

Exposing the manageability of a common product with Web services standards

Dan Jemiolo, Advisory Software Engineer, EMC
Photo of Dan Jemiolo
Dan Jemiolo is an Advisory Software Engineer on IBM's Autonomic Computing team in Research Triangle Park, NC. He led the design and development of Apache Muse 2.0 and continues to work on the project today. Dan also participates in the WS-RF TC as editor of the WS-ResourceMetadataDescriptor specification and is involved in IBM's strategy for increasing adoption of Web services standards. He came to IBM just over two years ago after earning his Master of Science degree in Computer Science from Rensselaer Polytechnic Institute.
(An IBM developerWorks Contributing Author)

Summary:  Learn how you can use Apache Muse to create a WS-DistributedManagement (WSDM)-compliant interface for a manageable resource. In this tutorial, you'll see how to design the Web service interface for the resource, generate code for the implementation, and deploy the code as a Web application. The manageable resource focus of this tutorial is the ubiquitous Apache HTTP Server, commonly-referred to as "httpd." After completing this tutorial, you should have a Muse-based application that lets any WSDM-compliant management client manipulate the httpd resource.

Date:  21 Nov 2006
Level:  Intermediate PDF:  A4 and Letter (72 KB | 22 pages)Get Adobe® Reader®

Activity:  20612 views
Comments:  

Before you start

Learn what to expect from this tutorial, and how to get the most out of it.

About this tutorial

This tutorial goes beyond simple examples and illustrates how to build a WS-DistributedManagement (WSDM) interface for a software product that is very common in today's IT systems. It uses the tools and framework from the Apache Muse project to design, implement, and deploy a WSDM interface for the Apache HTTP Server, commonly-referred to as "httpd." If you have not used Muse before you are not expected to fully understand this tutorial until you have completed the introductory tutorial (see Resources) that is part of the project's documentation.


Objectives

In this tutorial, you learn some of the finer points of designing a Web services interface for an existing manageable resource; along the way, you create a Service Definition Language (WSDL) document that defines a Web services interface for httpd. You'll then use the tools that ship with Muse to generate code and artifacts that adhere to the interface and which can be deployed as a Java™ Platform, Enterprise Edition (Java EE) Web application. Finishing the application so that it allows WSDM-compatible management clients to manipulate httpd will teach you how to map the concepts in WSDM to a product's existing management API.


Prerequisites

This tutorial is written for Java programmers whose skills and experience are at an intermediate level. You should also have a solid understanding of the concepts and XML schemas that are defined in the WS-ResourceFramework (WSRF) and WSDM standards. Finally, it is expected that you have tried the introductory tutorial (see Resources for a link) that is included with the Muse 2.0 distribution and have successfully run the sample applications.


System requirements

To run the application that you build in this tutorial, you need to have Apache Tomcat installed on your system. Keep in mind that Tomcat 5.5 requires Java Platform, Standard Edition (Java SE) 1.5, so if you are using Java SE 1.4, you'll want Tomcat 4.1 or 5.0. The work is shown using a Microsoft Windows console, but the tutorial can be completed by UNIX® and Linux® users as well.

1 of 15 | 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, SOA and web services
ArticleID=175541
TutorialTitle=Create a WSDM interface for an HTTP server using Apache Muse
publish-date=11212006
author1-email=danjemiolo@us.ibm.com
author1-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.