Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Rational Application Development certification prep, Part 3: Web development

Gregory L. Scott (glscott1@us.ibm.com), Senior Learning Specialist, IBM
Greg is an instructor in private and public national settings, internal and external to IBM, primarily related to Java client-side and server-side (J2EE) programming. Specializations include servlets, JSPs, EnterpriseJavaBeans, portlets, XML, and Web Services.

Summary:  The Rational® Application Developer for WebSphere® Software Web development tutorial is the third tutorial in a series of seven tutorials created to help you prepare for the IBM Certification Test 255, Developing with IBM Rational Application Developer for WebSphere Software V6. Learn how to create a J2EE 1.4 Web application using Rational Application Developer 6. The application you create is in the form of Model-View-Controller (MVC). Step through how to create a controller servlet and a model servlet, which includes your business logic. Then take a look at using JavaServer Pages (JSPs) for the View, including both an HTML input form and the HTML output from the server. Next you can experiment with using a JavaBean to help with the business logic. Pick up techniques for forwarding between server-side components, creating server-side dynamic data that returns to the user's browser, configuring the XML files that are required by J2EE, and testing with WebSphere Application Server 6.

View more content in this series

Date:  14 Mar 2006
Level:  Intermediate PDF:  A4 and Letter (2089 KB | 57 pages)Get Adobe® Reader®

Activity:  14315 views
Comments:  

Before you start

About this series

Rational Application Developer for WebSphere Software is the IBM Software Development Platform that allows you to quickly design, develop, analyze, test, profile and deploy Web, Web services, Java, J2EE, and portal applications. This series of seven tutorials helps you prepare to take the IBM certification Test 255, Developing with IBM Rational Application Developer for WebSphere Software V6 to become an IBM Certified Associate Developer. This certification targets entry level developers and is intended for new adopters of IBM Rational Web Developer or IBM Rational Application Developer for WebSphere Software V6.0, specifically professionals and students entering into Web development using IBM products.


About this tutorial

Learn you how to create two servlets and two JSPs and integrate them into a unified Web application. It then explores issues related to aliasing (URL mapping), passing JavaBeans from one part of the Web application to another, using Javascript and Model-View-Controller (MVC). It also examines some of the problems with creating multiple Web applications and sharing classes with respect to classpaths and JAR dependencies.


Objectives

In this tutorial you create a first vertical slice (a basic version of the application that runs from start to finish) of a potentially much larger Web application. The slice includes all the major fundamental components of a J2EE 1.4 Model-View-Controller application. After you complete this tutorial, you should understand how those components -- servlets, JSPs, JavaBeans, and deployment descriptors -- fit together and how Application Developer can facilitate the whole process.

Prerequisites

This tutorial assumes intermediate Java™ skills, at least with respect to J2SE. J2EE understanding is helpful, but not essential. Moreover, it assumes you have gone through the two previous tutorials in this series or have equivalent knowledge with Rational Application Developer.

System requirements

To run the examples in this tutorial, you need to install Rational Application Developer for WebSphere Software or Rational Web Developer for WebSphere Software. You can download a free trial version of Rational Application Developer for WebSphere Software if you don't already have a copy of it.

The hardware and software requirements for this software can be located at IBM Rational Application Developer System Requirements.

1 of 12 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=105583
TutorialTitle=Rational Application Development certification prep, Part 3: Web development
publish-date=03142006
author1-email=glscott1@us.ibm.com
author1-email-cc=