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]

Develop Web service clients

Using JSF Web service tools in Rational Application Developer

Jeff K. Wilson (wilsonje@us.ibm.com), e-business architect, IBM
Jeff Wilson
Jeff Wilson, a self-proclaimed dot-com refugee, has for the past three years been an e-business architect for the DragonSlayers, IBM's Developer Relations Technical Consulting team in Austin, Texas. The DragonSlayers' goal is to excite, evangelize, educate, and enable developers on the latest tools and technologies available. Jeff welcomes any and all questions, comments, recipes, insider stock tips, cash, prizes, and good juicy gossip.

Summary:  This tutorial is designed for J2EE developers interested in a rapid development solution to tie standard Web pages to dynamic data through Web services. This tutorial teaches you how to use the new JavaServer Faces Web services toolset bundled with IBM Rational Application Developer to quickly and easily generate Web applications that connect and consume data from a remote systems.

Date:  26 Jul 2005
Level:  Intermediate PDF:  A4 and Letter (56 KB | 16 pages)Get Adobe® Reader®

Activity:  6297 views
Comments:  

Introduction

Overview

You might have heard recently about the concept of a service-oriented architecture. On the other hand, you might also be scoffing at my use of the term "recently."

Certainly, the idea is not really new, but it is a particularly hot topic these days. What I am referring to is similar in concept to how computing has evolved over the past, who knows, how many years? Admittedly, I haven't been in the business long enough to really know. The idea, of course, is building processes from reusable components.

Moving from subroutines, to reusable methods and objects, to finally remotely callable services, we now have the benefit of building flexible, reworkable, and evolving applications that easily span networks and businesses. At the heart of this is the advent of Web services.

Web services expose business processes to anyone across a network that might call them. Being an open platform-independent, and self-describing mechanism for requesting and receiving data, it is increasingly easy to implement and can add a vast amount of flexibility to application development.

The question is, "How do you do it?"

Recent tools -- and particularly thanks to the JavaServer Faces framework -- have made this task much simpler than it has ever been. This tutorial walks you through connecting a client application to a Web service using Rational Application Developer.


Who this is for

This tutorial is designed for J2EE developers interested in a rapid development solution to tie standard Web pages to dynamic data through Web services. This tutorial teaches you how to use the new JavaServer Faces Web services toolset bundled with IBM Rational Application Developer to quickly and easily generate Web applications that connect and consume data from a remote systems.


What you will need

In this tutorial, because you are simply developing a standard Web application that accesses a Web Service, the only tool you will need is IBM Rational Application Developer, which will host and consume the Web service in the test environment.

To successfully complete the scenarios presented in the tutorial, download a copy of Rational Application Developer and the zip file included with the tutorial:

Install Rational Application Developer using the default settings. Follow the steps of the tutorial to use the source files included in the zip file.

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=Rational, Java technology
ArticleID=89440
TutorialTitle=Develop Web service clients
publish-date=07262005
author1-email=wilsonje@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.