1-877-WEBUCATE
(1-877-932-8228)
info@webucator.com
 
Microsoft Training
Java Training
XML Training
Database & SQL Training
PHP, Perl, ASP, Groovy, Grails, Ruby on Rails Training
HTML, JavaScript, Ajax & CSS Training
Adobe CS3 Training
◊ PRIVATE J2EE TRAINING


Need a private class for your team delivered at your site or a location near you?
For private groups of three or more, Webucator offers completely customizable and cost-effective J2EE classes delivered at your offices or a location near you.

To have someone contact you about these classes, please fill out the form below.

* (Required)
* (Required)
* (Required)
* (Required)
* (Required)
(The number of people requiring training)
(For Federal Government Pricing)
* (Required)

JSP Training (4 days)


This J2EE class is delivered for private groups onsite at your offices or a location of your choice. It can also be delivered via the Internet for geographically distributed staff.

Click here for our public J2EE classes

JavaServer Pages Overview

This four-day course develops skills in JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform. It treats JSP 2.0, including older features such as scriptlets but focusing on newer features and techniques, including JSP expressions and the JSTL. At the end of the course, students will be well prepared to author JSPs for small- or large-scale Web applications, either "by hand" (they use only a text editor in class) or using an authoring tool.

The first module begins with an introduction of Web applications in general, shows how Java servlets and JSPs establish a framework for writing Web applications, and then covers JSP 2.0 features in detail, from scripting elements to use of dedicated JavaBeans to JSP expressions, and quick introductions of JSTL and custom tag development.

By the end of the module students will be able to create their own JSP applications, including interactive applications using HTML forms and pages that perform fairly complex processing using scripts and or actions. Although scripting is covered, the scriptless authoring style encouraged by the JSP 2.0 specification is emphasized, and students will be well equipped to develop concise and effective JSP applications.

The second module covers the JSTL, or JSP Standard Tag Library, actually a set of four custom tag libraries that establish a portable standard for common processing tasks in JSP. JSTL is a major part of the new scriptless authoring style encouraged (and enabled) by the JSP 2.0 specification. This module covers all four JSTL libraries in depth:

  • The core actions, which support JSP expressions for JSP 1.x containers, flow control for procedural processing in JSPs, and resource access.
  • The formatting and internationalization/localization actions, which standardize formatted numeric and date/time output as well as multi-language support.
  • The SQL actions, which dramatically simplify access to relational data from a JSP.
  • The XML actions, which give JSPs a simple, powerful framework by which to parse, address and transform XML data using XPath and XSLT.

Each individual tag in each library is covered, with precise syntactic rules shown in a standard format in the student guide, and JSTL techniques and best practices are discussed for each library. An extensive set of example applications illustrates common usage of each major group of actions, and the module culminates with a wrap-up workshop that brings core, SQL, and XML techniques to bear in a single application.

Trademarks used: Java® |

JavaServer Pages Course Goals

  • Explain the fundamentals of HTML and HTTP in the World Wide Web.
  • Describe JavaServer Pages and their relationship to servlets and J2EE generally.
  • Describe how a JSP is translated into a servlet and processed at runtime.
  • Explain the use of directives on JSPs and outline the principal directives.
  • Implement simple JSPs that use Java code in declarations, expressions and scriptlets.
  • Enumerate and use the implicit objects available to scripting elements.
  • Implement an interactive Web application using HTML forms and JSP.
  • Use Java exception handling and JSP error pages to handle errors in JSP applications.
  • Implement session management for a JSP application.
  • Manage cookies to store client-specific information at various scopes and durations.
  • Use JavaBeans to implement effective interactive JSP applications.
  • Describe custom tags in JSP and explain how they are implemented, both using Java and JSP itself, and how they are used.
  • Discuss threading issues in JSP and describe the use of directives to control how threading is handled.
  • Describe the various uses of XML in JSP applications.
  • Deploy a logical Web application to a Web server in a WAR file.
  • Describe the use of the JSP expression language to simplify dynamic page output.
  • Write JSP expressions and implement JSPs that use them in favor of scripts.
  • Implement JSPs that use basic JSTL actions to simplify presentation logic.
  • Decompose a JSP application design into fine-grained, reusable elements including JavaBeans, custom tag handlers and tag files that use JSTL.
  • Use core JSTL actions to complement standard actions, custom actions, and JSP expressions for seamless, script-free page logic.
  • Direct conditional and iterative processing of page content by looping through ranges of numbers, over elements in a collection, or over tokens in a master string.
  • Set locale and time zone information in JSPs, and use them to correctly format numbers, dates and times for all clients.
  • Use resource bundles to manage application strings, and produce the appropriate strings at runtime for a particular client locale.
  • Locate a data source, query for relational data, and parse result sets.
  • Perform updates, inserts and deletes on relational data using SQL actions.
  • Manage queries and updates in transaction contexts.
  • Derive information from parsed XML content using XPath expressions.
  • Implement conditional processing and loops based on XML information.
  • Apply XSLT transformations to XML content.
  • Implement a simple Web service that reads and writes SOAP.

JavaServer Pages Course Prerequisites

Experience in the following areas is required:

  • Knowledge of HTML and background in Web applications will be helpful but is not strictly necessary. Deep Java experience is not required, but some familiarity with the language is recommended for some of the exercises.

JavaServer Pages Course Outline

  1. Introduction to JSP
    1. Web Applications
      1. The World Wide Web
      2. HTML
      3. Web Servers
      4. HTTP
      5. Dynamic Web Pages
      6. CGI
      7. Java Web Technologies
      8. Servlets
      9. JSP
    2. JSP Architecture
      1. JSP Containers
      2. Servlet Architecture
      3. Page Translation
      4. Types of JSP Content
      5. Directives
      6. Content Type
      7. Buffering
      8. Scripting Elements
      9. JSP Expressions
      10. Standard Actions
      11. Custom Actions and JSTL
      12. Objects and Scopes
      13. Implicit Objects
      14. JSP Lifecycle
    3. Scripting Elements
      1. Translation of Template Content
      2. Scriptlets
      3. Expressions
      4. Declarations
      5. Dos and Don'ts
      6. Implicit Objects for Scriptlets
      7. The request Object
      8. The response Object
      9. The out Object
    4. Interactive JSP Applications
      1. HTML Forms
      2. Reading CGI Parameters
      3. JSPs and Java Classes
      4. Error Handling
      5. Session Management
      6. The Session API
      7. Cookies and JSP
    5. Using JavaBeans
      1. Separating Presentation and Business Logic
      2. JSP Actions
      3. JavaBeans
      4. Working with Properties
      5. <jsp:useBean>
      6. <jsp:getProperty> and <jsp:setProperty>
      7. Using Form Parameters with Beans
      8. Objects and Scopes
      9. Working with Vectors
    6. The Expression Language and the JSTL
      1. Going Scriptless
      2. The JSP Expression Language
      3. EL Syntax
      4. Type Coercion
      5. Error Handling
      6. Implicit Objects for EL
      7. The JSP Standard Tag Library
      8. Role of JSTL
      9. The Core Actions
      10. Using Beans with JSTL
      11. The Formatting Actions
      12. Scripts vs. EL/JSTL
    7. Advanced JSP Features
      1. Web Components
      2. Forwarding
      3. Inclusion
      4. Passing Parameters
      5. Custom Tag Libraries
      6. Tag Library Architecture
      7. Implementing in Java or JSP
      8. Threads
      9. Strategies for Thread Safety
      10. XML and JSP
      11. JSP for Web Services
  2. The JSP Standard Tag Library
    1. Effective JSTL
      1. The JSP Standard Tag Library
      2. JSTL Namespaces
      3. Going Scriptless
      4. Object Instantiation
      5. Sharing Objects
      6. Decomposition
      7. Parameterization
    2. The Core Actions
      1. The JSTL Core Library
      2. <c:out>
      3. <c:set>
      4. Gotchas
      5. Conditional Processing
      6. Iterative Processing
      7. Iterating Over Maps
      8. Tokenizing Strings
      9. Catching Exceptions
      10. Resource Access
    3. The Formatting and i18n Actions
      1. The JSTL Formatting Library
      2. Locales
      3. Determining Locale
      4. Time Zones
      5. Setting Locale and Time Zone
      6. Formatting and Parsing Dates
      7. Formatting and Parsing Numbers
      8. Internationalization
      9. Working with Resource Bundles
      10. Supporting Multiple Languages
    4. The SQL Actions
      1. The JSTL SQL Library
      2. Using Relational Data
      3. Connecting with a DriverManager
      4. Connecting via a DataSource
      5. The Result Interface
      6. Making a Query
      7. Inserts, Updates and Deletes
      8. Parameterized SQL
      9. Transactions
    5. The XML Actions
      1. The JSTL XML Library
      2. Using XML
      3. XML Data Sources
      4. Parsing and Addressing
      5. Using XPath in JSTL
      6. XPath vs. EL
      7. XPath Context
      8. Implicit Objects for XPath
      9. Conditional Processing
      10. Iterative Processing
      11. Changing XPath Context
      12. Working with XML Namespaces
      13. Using XSLT
      14. Chaining Transformations
      15. Reading XML from the Request Body
      16. XML and SOAP Web Services

JavaServer Pages Course Materials

In addition to a comprehensive set of materials, including course notes and all the programming examples, each student will also receive a one-year subscription to Webucator's online reference library, which contains hundreds of the most current electronic technology books - a $149.95 per student value.

JavaServer Pages Technical Requirements

Complete Setup Instructions

Java® and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
home - onsite classes - instructor-led online courses - self-paced online courses - why webucator - partners - contact - sitemap
© 2008 Webucator. All rights reserved. info@webucator.com | Toll Free: 877-WEBUCATE (877-932-8228) | From Outside the USA: 315-849-2724 | Fax: 315-410-5320
Phoenix, AZ | Santa Clara, CA | Santa Clara, CA | Los Angeles, CA | Sacramento, CA | Washington, DC | Atlanta, GA | Chicago, IL | Indianapolis, IN | Muncie, IN
New Orleans, LA Boston, MA | Cambridge, MA | Charlestown, MA | Framingham, MA | Ipswich, MA | Lincoln, MA | Wellesley, MA | Worcester, MA | Bangor, ME | Detroit, MI
Raleigh, NC Winston-Salem, NC | Lincoln, NE | East Hanover, NJ | Eatontown, NJ | Madison, NJ | Parsippany, NJ | Trenton, NJ | Albany, NY | Buffalo, NY | Rochester, NY
New York City, NY | Syracuse, NY | West Babylon, NY | Dayton, OH | Bethlehem, PA | Philadelphia, PA | Pittsburgh, PA | Pittsburgh, PA | State College, PA
Middletown, RI | Rapid City, SD | Austin, TX | Dallas, TX | Houston, TX | Arlington, VA | McLean, VA | Seattle, WA | Toronto, Canada | Ottawa, Canada | Calgary, CA