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 endpoint using Build to Manage tooling from the Eclipse TPTP project

An easier, IDE driven way to build a WSDM interface that uses the Apache Muse run time

Balan Subramanian (bsubram@us.ibm.com), Advisory software engineer, IBM
Photo of Balan Subramanian
Balan leads the Web Services Distributed Management (WSDM) development team in the Tivoli Autonomic Computing group at IBM in Research Triangle Park, delivering run times and tooling for WSDM. His team delivers the open source Apache Muse WSDM run time and the tooling for WSDM in the Eclipse TPTP project to which he is a committer. Balan earned a Master's degree in Computer Science from George Mason University and has been with IBM since 2002. He is interested in Web services, grid computing, autonomic computing, social networking and robotics. He has published several articles and filed multiple patent applications, particularly in the areas of problem determination, autonomic computing and Web services.

Summary:  Build a Web Services Distributed Management (WSDM) interface for the Apache HTTP server without having to worry about Web services artifacts like Web Services Description Language (WSDL) and schema files, using refreshed tooling for WSDM in the Eclipse open source project. In a previous tutorial, you learned how to accomplish this task by hand coding the artifacts required by the Apache Muse run time and using the command-line utilities in Muse. In this tutorial, you do the same but in a faster, easier way. By the end of this tutorial, you will be accomplished at using the tooling integrated into Eclipse to model, generate, and test WSDM interfaces.

Date:  13 Feb 2007
Level:  Intermediate PDF:  A4 and Letter (1966 KB | 58 pages)Get Adobe® Reader®

Activity:  17226 views
Comments:  

Before you start

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

A brief introduction

Those of you who have been following IBM's support for the Web Services Distributed Management (WSDM) standard through delivery of WSDM run time and tooling are probably aware of the Autonomic Integrated Development Environment (AIDE). As a logical next step in the support of an open standard like WSDM, the run-time code was contributed to the Apache Muse project, and keeping in step, a new revamped version of the tooling for WSDM is now available as part of the Eclipse Test and Performance Tools Platform (TPTP). While the runtime provides a stable reference implementation of the WSDM specifications and a programming model for building WSDM endpoints, the tooling lets you visually model a WSDM interface in an IDE, generate the endpoint code that follows the Muse programming model, and also test a sample deployment of the generated endpoint with your custom implementation added to it.

The tooling is available as part of the Build to Manage download in Eclipse TPTP 4.3. It is manifested as a set of plug-ins that provide editors for various WSDM-related constructs like capabilities, managed resource types, and so on, and Muse-specific artifacts like a runtime deployment descriptor. Also available in TPTP is a Managed Agent Explorer that lets you test the endpoints built using the tooling in addition to introspecting existing endpoints.


About this tutorial

This tutorial uses a hands-on approach to help you build WSDM interfaces for existing applications and IT resources. Rather than delve into the intricate details of the artifacts that define an endpoint, this tutorial takes a task-based approach that a developer or architect with a high-level knowledge of WSDM can quickly grasp. Advanced WSDM developers, who are well aware of the complex artifacts required for creating anything more than a simple endpoint, will appreciate the simplicity and quick turnaround that the tooling provides. Through a number of screen shots and code snippets, this tutorial gets you up and running with WSDM endpoint development in no time.

Tasks that you should perform are typically in separate sections and the section title carries a Task prefix. Each task contains a discrete set of steps. A number of screenshots are included in the tutorial. Typically, only portions of the screen are shown (to save space). However, each screenshot is accompanied sometimes by a link to the full screenshot where it is useful to see the entire context in which a user action is taken.

I use the "Create a WSDM interface for an HTTP server using Apache Muse" tutorial as a reference throughout this tutorial (when I say the "other tutorial," this is what I am referring to). It will help you compare and understand how to use the tooling for WSDM to generate WSDM endpoints that use the Apache Muse run time. The artifacts generated in this tutorial will look very similar to the artifacts that you create by hand in "the other tutorial."

This tutorial is meant to be an introductory tutorial on effortlessly building WSDM endpoints. As such, a number of advanced features are skipped and not even identified in the interest of time and simplicity. These features will be covered in future tutorials that you can expect to see very soon on your favorite destination for leading-edge technical articles, developerWorks!


Prerequisites

This tutorial is for developers who have a high level of understanding of the Web Services Distributed Management concepts and a good grasp of Web services in general. The intent of the tooling is to hide the complexities of Web services development and Apache Muse artifacts while advocating a standard programming model. However, familiarity with Web services will help you follow the tasks closely. Java™ programming experience using an IDE such as Eclipse is also helpful.


System requirements

Much of the development in this tutorial is done in the Eclipse IDE with the Test and Performance Tools Platform (TPTP) plug-ins installed. The first section of this tutorial explains how to set up the Eclipse TPTP installation and the tooling for WSDM on top of it. Prerequisites for Eclipse TPTP can be found at http://www.eclipse.org/tptp/home/downloads/.

To run the endpoint generated in this tutorial and see it in action as a management interface to Apache Tomcat, you must have Apache Tomcat installed on your machine. Apache Tomcat 5.0 is recommended because you can use the same 1.4-level JDK, which is the supported Java runtime for Eclipse TPTP.

1 of 9 | 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=195433
TutorialTitle=Create a WSDM endpoint using Build to Manage tooling from the Eclipse TPTP project
publish-date=02132007
author1-email=bsubram@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.