Skip to main content

developerWorks  >  WebSphere | Rational  >

Creating and consuming Web services with EGL using WebSphere Developer for zSeries

developerWorks

Level: Introductory

Reginaldo Barosa (rbarosa@us.ibm.com), Senior Certified Application Development Specialist, IBM

06 Sep 2006

Register now or sign in using your IBM ID and password.

This tutorial teaches you how to use WebSphere® Developer for zSeries to build and test a Web service using Enterprise Generation Language (EGL) to be deployed to WebSphere Application Server Version 6. It also shows how to consume the Web service that you create, using a Java Server Faces (JSF) client to invoke this service.

Objectives

  • Create, deploy and test a Web service using EGL

  • Create a Web client to consume the Web service, using JSFand EGL

Prerequisites

This tutorial is written for programmers who are not familiar with J2EE or Java™ programming. You don't need Java skills to take this tutorial, but an understanding of some basic programming concepts are required.


System requirements

Rational Application Developer V6 or WebSphere Developer for zSeries V6 with the EGL feature installed is required to code the example described here. Since the Web service created in this example accesses DB2, you will need to install DB2 and the provided Sample database on your workstation. You will need DB2 version 7.1 or later for this tutorial. Refer to the IBM documentation for this installation.


To view the demos included in this tutorial, JavaScript must be enabled in your browser and Macromedia Flash Player 6 or higher must be installed. You can download the latest Flash Player at http://www.macromedia.com/go/getflashplayer/.


Duration

2 hours


Formats

pdf, swf


Summary

The first part of this tutorial teaches how to create, deploy, and test a simple Web service using EGL. You deploy this Web service to WebSphere Application Server Version 6. Although the Web service is a J2EE application, we show you how to create it without directly coding Java, but using EGL to generate the Java.

In the second part, we deploy a simple Web application to WebSphere Application Server V6 using JavaServer Faces (JSF) technology and EGL to invoke the Web service created in the first part.

We describe in detail how to code, test, generate, and deploy a three-tier application consisting of a Web interface, the Web service that executes on WebSphere Application Server, and a DB2®query to access a database. You test and deploy all the code in the workstation, but in the real world the components could be deployed on different platforms.

This tutorial describes the steps required to create and consume Web services in IBM WebSphere Developer for zSeries v6.0.1, You can also download the solution and load it into the WebSphere Developer workspace instead of performing all the activities. This article uses animated examples, which are provided as links in the PDF file, and as downloads.

Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community