
9.1 Passenger List application
We separate the development into two phases (Figure
Client
HTML |
| Web Tier |
| Phase 2 |
Servlet | Java |
| Proxy |
XML |
Presentation
Data
Data Server
Web
Services
Phase 2![]()
XSLT Processor
XSLT | Data |
Presentation Logic
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 Figure
1. Design the XML Schema
178 The XML Files: Development of XML/XSL Applications Using WebSphere Studio