Home    |    Instructor-led Training    |    Online Training     
         
 
Courses
ADA
Adobe
Agile
AJAX
Android
Apache
AutoCAD
Big Data
BlockChain
Business Analysis
Business Intelligence
Business Objects
Business Skills
C/C++/Go programming
Cisco
Citrix
Cloud Computing
COBOL
Cognos
ColdFusion
COM/COM+
CompTIA
CORBA
CRM
Crystal Reports
Data Science
Datawarehousing
DB2
Desktop Application Software
DevOps
DNS
Embedded Systems
Google Web Toolkit (GWT)
IPhone
ITIL
Java
JBoss
LDAP
Leadership Development
Lotus
Machine learning/AI
Macintosh
Mainframe programming
Mobile
MultiMedia and design
.NET
NetApp
Networking
New Manager Development
Object oriented analysis and design
OpenVMS
Oracle
Oracle VM
Perl
PHP
PostgreSQL
PowerBuilder
Professional Soft Skills Workshops
Project Management
Rational
Ruby
Sales Performance
SAP
SAS
Security
SharePoint
SOA
Software quality and tools
SQL Server
Sybase
Symantec
Telecommunications
Teradata
Tivoli
Tomcat
Unix/Linux/Solaris/AIX/
HP-UX
Unisys Mainframe
Visual Basic
Visual Foxpro
VMware
Web Development
WebLogic
WebSphere
Websphere MQ (MQSeries)
Windows programming
XML
XML Web Services
Other
Introduction to JSP
Version 2.0.2
Java Training Overview

This two-day module introduces JavaServer Pages, or JSP, which is the standard means of authoring dynamic content for Web applications under the Java Enterprise platform. The 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.

Java Training Learning Objectives

  • Explain the fundamentals of HTML and HTTP in the World Wide Web.
  • Describe the CGI and its role in implementing interactive Web applications.
  • 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.
  • Explain the use of HTML forms in Web applications.
  • Implement an interactive Web application using 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.
  • Explain the use of JavaBeans in JSP and their role in enhancing the separation of business logic from page design.
  • Use Beans to implement effective interactive JSP applications.
  • Describe the use of the JSP expression language in simplifying dynamic page output.
  • Write JSP expressions and implement JSPs that use them in favor of scripts.
  • Describe the role of the JSP Standard Tag Library in JSP development.
  • Implement JSPs that use basic JSTL actions to simplify presentation logic.
  • 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.
Java Training Prerequisites

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.

Java Training Course duration

2 days

Java Training Course outline

1. Web Applications
 
  • The World Wide Web
  • HTML
  • Web Servers
  • HTTP
  • Dynamic Web Pages
  • CGI
  • Java Web Technologies
  • Servlets
  • JSP
2. JSP Architecture
 
  • JSP Containers
  • Servlet Architecture
  • Page Translation
  • Types of JSP Content
  • Directives
  • Content Type
  • Buffering
  • Scripting Elements
  • JSP Expressions
  • Standard Actions
  • Custom Actions and JSTL
  • Objects and Scopes
  • Implicit Objects
  • JSP Lifecycle
3. Scripting Elements
 
  • Translation of Template Content
  • Scriptlets
  • Expressions
  • Declarations
  • Dos and Don’ts
  • Implicit Objects for Scriptlets
  • The request Object
  • The response Object
  • The out Object
4. Interactive JSP Applications
 
  • HTML Forms
  • Reading CGI Parameters
  • JSPs and Java Classes
  • Error Handling
  • Session Management
  • The Session API
  • Cookies and JSP
5. Using JavaBeans
 
  • Separating Presentation and Business Logic
  • JSP Actions
  • JavaBeans
  • Working with Properties
  • <jsp:useBean>
  • <jsp:getProperty> and <jsp:setProperty>
  • Using Form Parameters with Beans
  • Objects and Scopes
  • Working with Vectors
6. The Expression Language and the JSTL
 
  • Going Scriptless
  • The JSP Expression Language
  • EL Syntax
  • Type Coercion
  • Error Handling
  • Implicit Objects for EL
  • The JSP Standard Tag Library
  • Role of JSTL
  • The Core Actions
  • Using Beans with JSTL
  • The Formatting Actions
  • Scripts vs. EL/JSTL
7. Advanced JSP Features
 
  • Web Components
  • Forwarding
  • Inclusion
  • Passing Parameters
  • Custom Tag Libraries
  • Tag Library Architecture
  • Implementing in Java or JSP
  • Threads
  • Strategies for Thread Safety
  • XML and JSP
  • JSP for Web Services
Appendix A. Learning Resources

System Requirements

Hardware – minimal

  • 500 MHz, 256 meg RAM, 500 meg disk space.
Hardware – recommended

  • 1.5 GHz, 512 meg RAM, 1 gig disk space.
Operating system

  • Tested on Windows XP Professional. Course software should be viable on all systems which support the J2EE 1.4 reference implementation.
Software

  • All free downloadable tools.


Please contact your training representative for more details on having this course delivered onsite or online

Training Outlines - the one stop shopping center for IT training.
© Training Outlines All rights reserved