Vous êtes sur la page 1sur 20

IBM Rational University

Mastering Servlet and JSP Development with


Rational Application Developer V7
RD792 / DEV450 July 2007
Lab Setup Guide

IBM Corporation
Rational University
Mastering Servlet and JSP Development with Rational Application Developer V7
Lab Setup Guide

July 2007
Copyright International Business Machines Corporation, 2007. All rights reserved.
This document may not be reproduced in whole or in part without the prior written permission
of IBM.
The contents of this manual and the associated software are the property of IBM and/or its
licensors, and are protected by United States copyright laws, patent laws, and various
international treaties. For additional copies of this manual or software, please contact Rational
Software.
IBM and the IBM logo are trademarks or registered trademarks of IBM Corporation, in the
United States, other countries or both.
Rational, the Rational logo, ClearCase, ClearCase LT, ClearCase MultiSite, Unified Change
Management, Rational SoDA, and Rational XDE are trademarks or registered trademarks of
International Business Machines Corporation in the United States, other countries or both.

WebSphere, the WebSphere logo, and Studio Application Developer, are trademarks or
registered trademarks of International Business Machines Corporation in the United States, other
countries or both.
Microsoft Windows 2000, Microsoft Word, and Internet Explorer, among others, are trademarks
or registered trademarks of Microsoft Corporation.
Java and all Java-based marks, among others, are trademarks or registered trademarks of Sun
Microsystems in the United States, other countries or both.
UNIX is a registered trademark of The Open Group in the United States, other countries or
both.
Other company, product and service names may be trademarks or service marks of others.
Printed in the United States of America.
This manual prepared by:
IBM Rational Software
555 Bailey Ave. Santa
Teresa Lab San Jose CA
95141-1003 USA

V4.1
Lab Setup Guide for Classroom Delivery

TOC

Contents
Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Set Up Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Contents

iii

Lab Setup Guide

iv

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSGp

Purpose
This Lab Set Up Guide provides directions for installing, preparing, and verifying the lab
hardware and software in preparation for conducting a class of course RD792.
The Requirements sections of this document may also be used to determine the specific
hardware and software needed to conduct a class.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Purpose

Lab Setup Guide for Classroom Delivery

vi

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

Requirements
The following tables list the hardware, software, and other materials needed to set up a lab
to conduct a class for course RD792.

Hardware Requirements
Table 1 lists the hardware needed to prepare one student lab set. When preparing for a
class, multiply the items below by the number of lab systems needed for the class.
Table 1: Hardware for one student or instructor lab set
Minimum
Minimum Disk
Platform Use Machine Requirements
Features
Memory
Space
LAN-attached
or loopback
1.0 GHz Pentium III or
support (the
Student
1024 MB
10 GB
higher
TCP/IP stack
must be
installed)
LAN-attached
or loopback
1.0 GHz Pentium III or
support (the
Instructor
1024 MB
10 GB
higher
TCP/IP stack
must be
installed)

Software Requirements
Table 2 lists the software needed to prepare the student and instructor lab sets. When
preparing for a class, be sure you have the correct number of licensed copies of any
non-IBM software.
Table 2: Software for Instructor and Student Systems
Operating
Application
Platform Use
OS Version Applications
System
Version
Student

Windows XP Service Pack


Professionala 2

Licensing
Requirement
Site must
provide for
private
offerings

IBM Rational
Application
Version 7.0
Developer

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Requirements

Lab Setup Guide for Classroom Delivery

Table 2: Software for Instructor and Student Systems


Operating
Application
Platform Use
OS Version Applications
System
Version
WebSphere
Application
Version 6.0
Server
Adobe
Acrobat
Reader
WinZip or
equivalent
Instructor

Licensing
Requirement

Site must
Version 5.0 or provide for
later
private
offerings
Site must
provide for
8.0 or later
private
offerings

Same as student system

a. All testing of these instructions and all testing of the lab exercises were conducted on systems running Windows XP Professional with Service Pack 2. All of the products listed above are supported on Windows NT running at Service Pack 6a or higher, and on Windows 2000. The world-wide standard for this course is Windows
XP with SP2 applied. If other versions of Windows are required, it is up to the individual geographies to build
appropriate images and to test the labs and verify that they work in these environments. Because of differences
between Windows XP and other Windows versions, some operating system specific instructions in the lab exercises may need to be modified when running with Windows NT or Windows 2000.

Skills Required to Set Up the Lab


The following specialized skills are required to set up the lab:
Installer must be familiar with installing products on Windows XP and must be familiar
with the administration and customization of Windows XP.

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

Set Up Instructions
Configuration Information
The following sections describe the configurations of the student and lab systems.

Hardware Set Up Instructions


Use the following information in addition to the normal hardware installation procedures to
set up the lab hardware.
__ 1. No special hardware setup is required other than the requirement for network (LAN)
connectivity. If network connectivity is not available, you must still have the loopback
adapter and TCP/IP stack installed, and you must be able to PING localhost.
Internet access is preferred, as instructors may wish to demonstrate concepts with
real-world examples.

Software Setup Instructions


Use the following information in addition to the normal software installation procedures to
set up the lab software.
__ 1. Setting up Windows XP Professional1
__ a. Install Windows XP Professional (if not already installed).
__ b. Make sure that networking support is installed. If the system does not have a
network adapter, the loopback adapter must be installed. If the loopback adapter
is installed, it should be set with an IP address of 192.168.1.1 (or 10.0.0.1, if the
192.168.x.y range is used locally) and a mask of 255.255.255.0.
__ c. If networking support has been installed, it is recommended that students have
access to the Internet. This allows them to access WebSphere and Rational
related Web sites during the course.
__ d. Choose an appropriate local administrator ID and password. This must be made
known to the instructor, who must inform the students (userid and password
should no longer be used, according to IBM internal regulations).
__ e. Set the paging file size to an initial size of 2048 MB (or twice the memory size,
whatever is bigger); set the maximum size to the same value. (Start up System
from the Control Panel, select the Advanced tab, and click Performance
Options... and then click Change... under the Virtual memory section.) It is
best to install the pagefile on a partition by itself. The partition should be about 50
1 See comments in the Software Requirements section about the use of other Windows systems. These are not supported environments
for this course, but they are supported environments for the products to be installed. Course support of Windows systems other than
Windows XP Professional with Service Pack 2 is up to the individual geographies that want to run them.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Set Up Instructions

Lab Setup Guide for Classroom Delivery

to 100 MB larger than the pagefile itself. After the paging file has been initialized,
make sure that the page file on the original system drive is reduced to a size of
about 10 MB (both minimum and maximum). File system for this partition is less
important.
__ 2. Install Windows XP Service Pack 2(SP2).
__ 3. Install critical Microsoft Windows security updates.
__ 4. Log on with the userid and password chosen in step 1d above.
__ 5. Install Adobe Acrobat Reader, Version 5.0 (or higher).
__ 6. Install WinZip, Version 8.0 (or higher).
__ 7. Install the IBM Installation Manager.
__ a. Insert the IBM Rational Application Developer for WebSphere Software CD 1
into the CD drive to begin the installation. If autorun has been disabled, run
launchpad.exe from the CD.
__ b. Click the Install IBM Rational Application Developer V7.0 link.

__ c. After a few moments, the IBM Installation Manager appears. Click Next.
__ d. Select the I Accept the terms in the license agreement radio button and
click Next.
4

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

__ e. Accept the default installation location and click Next.

__ f.

Click Install on the next page to install IBM Installation Manager.

__ g. After the installation has completed, click Finish to close the IBM Installation
Manager window.
__ 8. The IBM Installation Manager window should open automatically. Install the IBM
Rational Application Developer package using the IBM Installation Manager.
__ a. If the window does not open automatically, click Start Menu
Installation Manager IBM Installation Manager.

Programs

IBM

__ b. On the Install Packages page, select the IBM Rational Application Developer
check box.

__ c. Click Next.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Set Up Instructions

Lab Setup Guide for Classroom Delivery

__ d. Select the I Accept the terms in the license agreement radio button and
click Next.
__ e. On the first Location page, change the Shared Resources Directory to
C:\IBM\SDP70Shared.

__ f.

Click Next.

__ g. On the second Location page, change the Package Group Installation


Directory to C:\IBM\SDP70.

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

__ h. Click Next.
__ i.

On the next page, click Next to accept the defaults. You are not extending an
existing installation of Eclipse.

__ j.

On the next Features page, click Next to accept the default language - English.

__ k. On the next Features page accept the defaults. Make sure that IBM WebSphere
application Server, version 6.1 is selected.

__ l.

Click Next.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Set Up Instructions

Lab Setup Guide for Classroom Delivery

__ m. On the Summary page, verify the settings and click Install.

__ n. Once the installation is done, click None and click Finish. Do not start IBM
Rational Application at this time.
__ 9. Once Application Developer is installed, the final step is to use the IBM Installation
Manager to install the Activation Kit to license the product.
__ a. Click Start Menu Programs
Installation Manager.

Servlet and JSP Development

IBM Installation Manager

IBM

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

__ b. In the IBM Installation Manager, Click Manage Licenses.

__ c. On the Manage Licenses page, click Import product Activation Kit. Click
Next.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Set Up Instructions

Lab Setup Guide for Classroom Delivery

__ d. On the Import Activation Kit page, click Browse and navigate to the folder
with the installation files. Locate and choose the RADLic.jar file. Click Next.

__ e. On the Licenses page, select the I Accept the terms in the license
agreement radio button and click Finish.
__ f.

Click Finish once again.

__ 10. Close any open installation windows.


__ 11. Unzip file LabFiles70.zip to C:\. Make sure you expand all of the files and keep
the directories. Verify that the following subdirectories are created in
C:\LabFiles70\ServletJSP:
- database (empty)
- setup
- snippets
- solutions
- workspace (empty)
__ 12. For user convenience, create a shortcut to the Rational Application Developer
executable on the Windows desktop. It should be called Rational Application
Developer and point to the following location:
"C:\IBM\SDP70\eclipse.exe" -showlocation -setworkspace
Students may drop workspace folders on this icon to open them with Application
Developer. The location of the workspace is displayed in the title bar of the
workbench window.

10

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1
Lab Setup Guide for Classroom Delivery

LSG

Verification and Cleanup Instructions


These instructions are used to verify the proper Services configurations, as well as the
basic operations of the installed products.
__ 1. Verify that IBM Rational Application Developer starts.
__ a. Start the program: Start Programs IBM Software Development Platform
IBM Rational Application Developer IBM Rational Application
Developer.
__ b. The Eclipse splash screen should be displayed, followed by the Application
Developer GUI.
__ c. Close the program.
__ 2. Remove any downloaded installation files and installation folders created during
extraction of zipped installation files.

Copyright IBM Corp. 2003, 2007


Course materials may not be reproduced in whole or in part
without the prior written permission of IBM.

Set Up Instructions

11

Lab Setup Guide for Classroom Delivery

12

Servlet and JSP Development

Copyright IBM Corp. 2003, 2007

Course materials may not be reproduced in whole or in part


without the prior written permission of IBM.

V4.1

backpg

Back page



Vous aimerez peut-être aussi