178 The XML Files: Develo pment of XML/XSL Applications Using WebS phere Studio
9.1 Passenger List application
We separate the development into two phases (Figure 9-1). In the phase one, we
develop the Web tier that returns a static XML using a servlet and XSLT
Processor. In the phase two, we implement a Web service, which returns the
passenger list as a query result.
Figure 9-1 Solution overview of the Passenger List application
In the first phase, we start to design the output message (data) format as an XML
Schema and output presentation as an XSLT. Then create a servlet which works
with them. In the second phase, we generate the Web Service using the XML
Schema.

9.1.1 Creating the Web tier

The first part consists in getting the passenger list data from a static XML file and
show it as an HTML output page. To do this we need to follow some steps: (See
Figure9-2.)
1. Design the XML Schema
Phase 2
Phase 2
Presentation
Data

Client Web Tier

Servlet
HTML XML
Data
Data
XSLT
Presentation Logic
Data Server
Web
Services
XSLT Processor
Java
Proxy