 | Level: Intermediate Michael L. Pauser (pauser@us.ibm.com), Developer, IBM Patsy Yu (patsyyu@us.ibm.com), Software Engineer, IBM
13 Mar 2008 IBM® Data Studio's Data Web Services allows you to quickly and
easily expose DB2® for Linux®, UNIX®, and Windows®, DB2 for
z/OS®, DB2 for iSeries®, or Informix® data source SQL scripts or stored
procedures as Web services. One of the supported Web servers is the WebSphere®
Application Server Community Edition V1.1.0.2, a free Web server from IBM. Using a
local instance of a WebSphere Application Server Community Edition Web server and a
Data Web Services supported data source, Data Web Services supports automatic JDBC
driver installation and automatic database pool registration as well as automatic
deployment. However, there are instances where you may not wish to use these automatic features. For instance, if your WebSphere Application Server Community Edition Web server is remote, you may first need to manually install the necessary JDBC drivers onto the Web server. Or, perhaps you want to use your own custom database pool. This tutorial takes you through the steps of working with IBM Data Studio's Data Web Services and the IBM DB2 and Informix family of databases with WebSphere Application Server Community Edition.
Objectives - Add a WebSphere Application Server Community Edition Web server instance.
- Launching the WebSphere Application Server Community Edition Administrative Console.
- Manually install DB2 and Informix JDBC drivers onto a WebSphere Application Server Community Edition Web server.
- Create a custom WebSphere Application Server Community Edition database pool for use with Data Web Services.
- Deploy Data Web Services using a WebSphere Application Server Community Edition database pool.
Prerequisites
This tutorial is written for database programmers who are familiar with IBM Data Web Services and WebSphere Application Server Community Edition. If you are unfamiliar with any of these, you
may wish to view Part 1 of this series.
System requirements
This tutorial assumes that you have the following products installed:
-
IBM DB2 for Linux, UNIX, Windows V9.5. However, you can use any supported
Data Web Service DB2 database. In addition, you must have the DB2 SAMPLE
database installed. If you do not have this SAMPLE database installed, refer
to your DB2 Information Center for instructions on installation of the
SAMPLE database.
-
IBM Data Studio V1.1. During installation, ensure that the Data Web Services
Development component is selected.
-
IBM WebSphere Application Server Community Edition V1.1.0.2, a free Web
server from IBM. A WebSphere Application Server Community Edition install image may
be bundled with your IBM Data Studio installation. If not, visit the
WebSphere
Application Server Community Edition download page,
and follow the Previous version(s) link for additional information or to download
the WebSphere Application Server Community Edition V1.1.0.2 installation image.
-
A Data Development Project with a Data Web Service. This tutorial uses the Data
Development Project from Part 1 of this series.
Duration
Less than two hours
Formats html, pdf
Tutorial overview
As discussed in Part 1 series, exposing your SQL scripts and stored procedures as a Web service is an easy task to perform.
As Data Web Services supports multiple Web servers and multiple databases, each has
its own nuances. This tutorial focuses on using WebSphere Application Server Community
Edition.
|  | |  |