￿Tools to generate XML data from Relational Data and vice versa.

￿Generation of the DAD and DADX for use in the DB2 UDB XML Extender.

￿Generation of WSDL bindings.

These tools are used in the development of this application and will be obvious as the construction progresses.

8.3.3 Technical implementation overview

The technical implementation of the Passenger List application consists of two projects. The first is the AIRLINE project is where the data access XML files are generated. The second TRAVEL project builds upon the first to create the graphical user display and the Web services (Figure 8-2). The approach is bottom-up approach where the data access is created first. The graphical user interface is created after, where the input fields are mapped to the tables and attributes in the database.

TRAVELproject

 

 

 

 

AIRLINE project

 

 

 

 

 

 

Output Display

6

 

 

 

 

PassengerList

 

HTML

 

 

 

 

 

XMLSchema

1

 

 

 

 

 

 

 

 

 

 

 

 

(XSD)

 

6(i)

6(ii)

 

6(iii)

 

 

 

 

 

Output Diaplay

 

 

 

 

 

 

 

PassengerList

 

Output Display

 

Output Display

XML

to

 

 

 

 

Data Type

 

DTD

 

XML

PassengerList

 

2

 

 

 

DTDmapping

 

Definition

 

 

 

 

 

 

(DTD)

 

Run-time excution

 

 

 

PassengerList

 

 

 

 

 

 

Data Access

 

PassengerList

 

 

 

 

 

 

 

 

 

Output Display XSLT

 

Defiinition

4

Data Access

3

 

 

StyleSheet

 

Extension

Definition

 

 

 

 

(DADX)

 

(DAD)

 

Web Browser

 

Servlet

 

5

 

 

 

 

Web Services

 

 

 

 

3

 

 

 

 

 

2

 

 

 

 

 

 

1

 

 

 

 

Database :Airline

HTML

 

 

 

 

 

Tables:Passenger,Schedule

 

XSLT

 

 

 

 

 

 

4

 

 

 

 

 

 

Processor

 

PassengerList

 

 

 

 

 

7

 

 

 

 

 

 

 

Results XML

 

 

 

Figure 8-2 Development and running of the Passenger List application

Chapter 8. WebSphere and XML approaches 169

Page 185
Image 185
IBM Version 5 manual Technical implementation overview, Development and running of the Passenger List application