by Craig Pelkie
Leading iSeries sites across a broad range of industries have
used this acclaimed training with excellent results.
Course Contents Summary | Skills
Acuired Upon Course Completion | Course Requirements
| Course Materials and Software | FAQ
The iSeries, backed by a strong development commitment from IBM, has
emerged as a world-class e-server. The programming skills required to stay
apace with this development have radically changed as well. WebSphere is
an essential part of this new dynamic and a working knowledge of Java is
an essential element for iSeries web development success with WebSphere.
Practical Java Programming for WebSphere is a proven, highly effective
self-paced training course for learning Java, JDBC, servlet and JSP programming
at your site.
The course assumes no prior knowledge of Java, WebSphere or web development
and provides a comprehensive introduction to these programming skills.
When done, you will have created several functional examples of data-driven
web pages and gained a working knowledge of Java.
The training emphasis is on creating working programs to access, display
and change data. Unlike other Java courses, there are no hypothetical examples
or theoretical discourses. Everything in the training can be put to immediate
use by iSeries programming professionals. The course is an excellent introduction
to modern, cross-platform programming technologies.
"The course assumes no prior knowledge of
Java, WebSphere or web development and provides a comprehensive introduction
to these programming skills."
Installation
Complete instructions to install and configure course files from the CD-ROM,
and other required course software, including the sample databases. Detailed
step-by-step instructions are provided for different versions of Windows.
After completing this chapter, you will be ready to begin development on
your PC.
The chapter also shows how to use the customization features of VisualAge
for Java so that you can configure the environment to your preferences,
and how to add features such as the WebSphere Test Environment to VisualAge
for Java to extend its functionality.
"Hello World"
Work with Java projects, Java packages and classes, and code editing
features. Create a first Java class and also the Javadoc documentation
for it. You'll learn how to use "SmartGuides" to help create
Java code and the relationships between projects, packages, classes and
methods.
You'll also learn about package naming conventions and Java naming conventions.
You'll use VisualAge for Java features to quickly create a class, and learn
how to navigate the Java development environment. When done, you will have
created and run a class (program) in the Java environment and painlessly
created documentation for it.
Using JDBC for Database Access
Create Java classes to access the database using SQL statements in
JDBC. Also learn about Java exceptions, Console I/O and the Debugger. You'll
learn how to set the Classpath, how to code and work with Prepared Statements,
and how SQL and JDBC errors are reported to your methods.
You also learn how to work with Java import statements and how to identify
and work with JDBC driver classes. You will work with the AS/400 JDBC driver
or the Sun JDBC-ODBC driver to access the test database on the iSeries
or on your PC.
Basic HTML
for web forms Work with a sample web form on the CD-ROM provided with
the course and identify the HTML elements used on the form. All of the
important HTML form elements are shown in illustrations and code, along
with tips and "best practice" advice for using the elements.
This section also describes how to use HTML tables for formatting your
web page displays, and includes an extensive discussion and example of
using links in the <a href> tag. It also describes how the <form>
tag is used to group HTML form elements together to send them to a servlet
or JSP for processing.
JavaScript
Review the JavaScript code in the sample Ship-to HTML web form and
understand how form fields are edited at the browser. An illustrated and
annotated code sample is described so that you can see exactly how web
form fields can be edited and error messages conveyed to the user.
The chapter discusses some of the cross-browser issues you will encounter
and how to use JavaScript functions to detect the user's browser. The Netscape
FormChek.js file is described, and several functions in it are used in
the code sample.
Cascading Style Sheets
Examine how Cascading Style Sheet files are used with the web form
to control the appearance of form elements, and how CSS helps standardize
your web forms' appearance. Several web form illustrations and code are
shown, along with descriptions of how the CSS features are used in the
HTML code.
The CSS element, class and id selectors are described and illustrated
so that you will know how to have complete control over CSS features with
your HTML code.
Using the WebSphere Test Environment
Learn to work with the WebSphere Test Environment to serve HTML files,
servlets and JavaServer Pages on your PC. The WTE provides a robust simulation
of WebSphere Application Server. You'll learn about the Document Root Directory,
how to configure your browser to access the WTE, and serve a sample HTML
and JSP file.
You'll learn how to set the Classpath for the WTE, how to start and end
the WTE, and how to monitor its activities in the Console. You'll also
load and use the sample web page to verify the WTE operation. When testing
your JSP file, you'll see how the JSP Execution Monitor is used to track
the execution of a JSP.
Create and run servlets
Create servlets based on the JDBC samples to access a database and
display web inquiry pages. Also learn how to configure and work with datasources
and connection pools. You'll learn how to throw exceptions in your code,
how to retrieve initialization values, and how to pass parameters from
an HTML form to a servlet.
You'll see how to put debugging code into a servlet so you can easily
track its execution, and you'll work with the Persistent Name Server in
the WTE to configure datasources. You'll also learn how to intercept invalid
HTML form values and set them to reasonable defaults in your servlet.
Create and test JavaServer Pages
Code several JavaServer Pages to display and alter data. Work with
the JSP Execution Monitor to debug JSPs. Also learn how the WebSphere JSP
tags simplify JSP coding. You'll create a "subfile" JSP to display
queried data and learn how to work with session variables to pass data
from JSP to JSP.
You'll learn how to work with directives, scriptlets, declarations and
expressions, and convert your JDBC and servlet examples to the equivalent
JSP samples. You'll also test an HTML form and JSP that inserts new rows
into a table, then create JSPs to update and delete table data.
Appendixes
Appendixes for installing IBM Client Access Express, working with iSeries
Netserver, obtain VisualAge for Java 4.0 from IBM (no charge), install
Microsoft Data Access Components, and upload test database to the iSeries.
"Learn at your own pace as you create several
functional examples of data-driven web pages and gain a working knowledge
of Java programming"
|