Please contact us
for GSA pricing.

Contract #

Please see our complete list of Microsoft Official Courses

JSP Training: Beginning JSP and Servlets

4.6 out of 5 (173 reviews)

Course Number: JSP-100
Duration: 5 days
view course outline

JSP Training Overview

This JSP and Servlets training course teaches beginning and early intermediate Java™ developers how to build database-driven Web applications using JavaServer Pages and Java Servlets.

Location and Pricing

Most Accelebrate courses are delivered as private, customized, on-site training at our clients' locations worldwide for groups of 3 or more attendees and are custom tailored to their specific needs. Please visit our client list to see organizations for whom we have delivered private in-house training. These courses can also be delivered as live, private online classes for groups that are geographically dispersed or wish to save on the instructor's or students' travel expenses. To receive a customized proposal and price quote for private training at your site or online, please contact us.

In addition, some courses are available as live, online classes for individuals. See a schedule of online courses.

JSP Training Prerequisites

This Servlets/JSP training course can be tailored to any level of Java experience. In general, we recommend that all attendees be fluent in HTML and have a prior knowledge of object-oriented or object-based programming, as well as some knowledge of SQL and relational databases.

Hands-on/Lecture Ratio

This class is 60% hands-on, 40% lecture, with the longest lecture segments lasting for 20 minutes.

JSP Training Materials

All Servlets/JSP training students receive a copy of O'Reilly's Head First Servlets & JSP and related courseware.

Software Needed on Each Student PC

  • Core 2 Duo or faster processor with at least 3 GB RAM
  • Any operating system that supports Java 1.7 or later
  • JDK 7 or later (6 could be accommodated upon request)
  • The Java tool the students are likely to use after the class (Eclipse is recommended, but other tools are also supported)
  • Tomcat 7 or later (or another servlet container, upon request)
  • Other free software - please contact us if you have purchased this class

JSP Training Objectives

All students will:

  • Design and build robust and maintainable web applications using the servlet and JSP frameworks
  • Understand the capabilities of the servlet API and when to use JSP instead
  • Build JSP applications using Model 1 and Model 2 architecture
  • Master the JSTL (JSP Standard Tag Library) for rapidly constructing the view of your application
  • Use JSTL and other Custom Tag Libraries to separate Java and HTML code
  • Access databases with JDBC

JSP Training Outline

  • Java EE Introduction
    • Java EE Overview
    • Java EE Technologies
    • Java EE Architecture
    • MVC
  • Servlets and JSP with the JSP Standard Tag Library (JSTL)
    • Web Application Basics
      • How the Web works, Thin Clients, TCP/IP
      • HTTP overview, Brief HTML review
      • Overview of Java EE, servlets & Web applications.
      • Servlet Basics
    • Servlet API
      • HTML Forms
      • HTTP: Request-response, headers, GET, POST
      • Overview: How Servlets Work
        • Servlet Lifecycle: init(), service(), destroy()
        • Requests and responses
      • Core Servlet API: GenericServlet, ServletRequest, and ServletResponse
      • HTTP Servlets: HttpServletRequest, HttpServletResponse and HttpServlet
      • Accessing Parameters
    • Additional Servlet Capabilities
      • HTTP headers and MIME types
      • RequestDispatcher: Including and forwarding
      • Sharing data with the request object attributes
      • Sharing data with ServletContext attributes
      • Error Handling
    • JavaServer Pages
      • Basics and Overview
        • JSP architecture
        • JSP tags and JSP expressions
        • Fixed Template Data
        • Lifecycle of a JSP
      • Model View Controller (MVC)
        • Model 1/Model 2 Architecture
      • Data Sharing among servlets & JSP
        • Object scopes or "buckets"
        • Request, application, session and page scope
        • Predefined JSP implicit objects (request, session, application, page)
        • <jsp:useBean>
        • <jsp:getProperty>, <jsp:setProperty>
        • <jsp:include>, <jsp:forward>
    • Using Custom Tags
      • Custom tags overview
      • Reducing JSP complexity
      • Tag Libraries
        • Tag Library Descriptor (TLD)
        • Loading a tag library in a web app
      • The JSTL
      • JSP Expression Language (EL)
      • Using custom tags
        • The c:url, c:param, c:forEach, c:out tags
    • More JSP Capabilities and Session Management
      • HTTP as a stateless protocol
      • Hidden form fields
      • Cookies: Overview, API, Using cookies
      • Session overview: Cookies and session tracking
      • HttpSession
        • Putting data into a session object
        • Retrieving data from a session object
      • Using session data in servlets and JSPs
      • Additional JSP Capabilities
        • Exception handling and error pages
        • Directives (page, include, others)
      • Import declarations
      • Multithreading considerations and data safety
        • SingleThreadModel interface
    • Additional JSP Capabilities
      • JSP Directives
      • JSP Error Pages
      • JSP and Java
        • Declarations, Scriptlet overview, Scriptlet syntax
    • More JSTL
      • Overview of JSTL libraries
      • The JSTL Expression Language
        • Expressions, Type Coercion, Operators, String concatenation, Implicit Objects
      • The Core JSTL Library
        • General Purpose: c:out, c:set, c:catch
        • Conditional: c:if, c:choose,
      • Overview of other capabilities
    • Additional Topics
      • Servlet Filter overview
        • Filtering examples, lifecycle, & filter chains
        • Filter API, Modifying a request, Modifying a response
      • Struts Overview
        • Advanced MVC - Struts overview
        • Command and State patterns
        • Struts View and Controller elements
  • JDBC
    • Introduction
      • Relational Database and JDBC Overview
        • Overview, Table Relationships, Web Based Data Access, JDBC Characteristics
      • JDBC Architecture, JDBC API Overview
        • DriverManager, JDBC Drivers
        • Naming databases with JDBC URLs
      • Connecting to a database
        • Connection interface, Establishing a connection
      • DataBaseMetaData
      • Handling Database Exceptions
    • Data Access
      • DAO - Data Access Objects, O-R Mapping, Value Objects
      • Processing Database Data
        • Executing statements, precompiled statements and stored procedures
        • Processing ResultSets,
        • Dealing with Null data
        • Updating, inserting, retrieving data
        • Controlling Transactions
      • JDBC Driver Types
      • DataSource
        • Java EE and DataSource, Using JNDI
      • Connection Pooling
        • Overview, Usage, Advantages
    • Advanced Topics
      • Other Database Access Technologies
        • SQLJ, O-R Mapping Tools, JDO (Java Data Objects), EJB Entity Beans
      • Advanced JDBC Features
        • Batch Updates, Scrollable Result Sets, Rowsets, User Defined Types, BLOBS, CLOBS