10.3.1 Creating the Web tier

In order to create the Web tier, the Websphere Application Developer provides a wizard for doing that. Given a JavaBean, the wizard generates the Web tier components as shown in Figure 10-4.

JavaBean

 

JavaBean XML

 

 

 

Client Wizard

 

 

 

 

 

 

 

 

Generates

 

 

DOM

XSL

XSLTs

XML

Web.XML

Servlet

Schema

 

 

 

Figure 10-4 JavaBean to XML client wizard

Preparing to create the Web tier

Websphere Application Developer provides a wizard that facilitates the creation of the Web Tier. But, before we start using that wizard, we must perform some configuration steps.

Project configuration

Create a J2EE Enterprise Application project called CustomerInfo as J2EE 1.2 Compliant. The following projects are generated automatically unless you change the names:

CustomerInfo

EAR Project

CustomerInfoClient

Test Client

CustomerInfoEJB

EJB Project

CustomerInfoWeb

Web Project

220 The XML Files: Development of XML/XSL Applications Using WebSphere Studio

Page 236
Image 236
IBM Version 5 manual Preparing to create the Web tier, JavaBean to XML client wizard