Java EE: Servlets and JSP Fundamentals, Part 2 of 5
Interactive

Java EE: Servlets and JSP Fundamentals, Part 2 of 5

LearnNow Online
Updated Oct 26, 2018

Course description

This course provides the ideal starting point for developers just getting into Java EE programming. This course covers programming topics specific to Java Servlets and JavaServer pages (JSP). In addition to covering the basics, this course will cover more advanced topics including JDBC, JSP Standard Tag Library, Model/View/Controller (MVC), and JavaBeans.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for Java programmers who build server-side web applications in leveraging Eclipse to streamline their development cycle. You should understand essential concepts of object-oriented programming and should be able to write simple Java programs with assistance.


Meet the expert

Susan Bryant

Susan Bryant is an experienced IT trainer and consultant with a broad array of skills. She has over 15 years experience in information systems with roles including systems consulting, project management, staff management, staff mentoring, and certified technical trainer. Susan has a strong technical knowledge of IBM WebSphere Application Server, WebSphere Portal Server, WebSphere Process Server, Lotus Domino, and web application development technologies including, Struts, JSF, EJBs and AJAX.

Video Runtime

181 Minutes

Time to complete

221 Minutes

Course Outline

Module 3

Servlets (36:31)

  • Introduction (00:35)
  • History - CGI (01:42)
  • Server Extension APIs (00:51)
  • Java Servlet (01:50)
  • New in Servlet 2.5 (02:16)
  • Servlet Container (02:36)
  • Servlet Responsbilities (01:38)
  • Java EE and Servlet (01:29)
  • The Servlet Class (01:51)
  • The HttpServlet Class (03:04)
  • The Servlet API (00:53)
  • An Example - Hello World (01:11)
  • The Servlet Container (01:04)
  • DEMO: Create a Servlet (15:05)
  • Summary (00:20)

Life Cycle (39:30)

  • Introduction (00:37)
  • Life Cycle - Initialization (04:25)
  • Example Initialization (01:08)
  • Life Cycle - Processing (02:27)
  • Life Cycle - Destroy (02:18)
  • User Input (01:41)
  • Example - User Input (01:12)
  • Output to Client (02:19)
  • Servlet Error Handling (02:42)
  • Threading Issues (03:20)
  • DEMO:Init Parameters (09:51)
  • DEMO: doGet method (06:43)
  • Summary (00:40)
Module 4

Parameters and Attributes (50:02)

  • Introduction (00:42)
  • Request (01:31)
  • Request Parameters (02:09)
  • Request Attributes (03:27)
  • Request Headers (01:49)
  • Request Path (02:03)
  • Other Request Information (01:04)
  • Response (03:05)
  • Cookies (05:31)
  • Components of a Cookie (03:47)
  • Issuing Cookies (01:22)
  • Retrieving Cookies (01:24)
  • Deleting a Cookie (02:20)
  • DEMO: Review (19:00)
  • Summary (00:40)

Servlet Context and Config (15:20)

  • Introduction (00:42)
  • Servlet Context (03:23)
  • Servlet Context Attributes (02:49)
  • Resource (02:17)
  • DEMO: Servlet Context Object (05:48)
  • Summary (00:19)

Session Tracking (40:08)

  • Introduction (00:42)
  • Tracking Techniques (00:57)
  • Cookies (01:59)
  • Cookies - an Example (01:33)
  • HTML Hidden Fields (01:20)
  • Using HttpSession (04:06)
  • Session Invalidation (03:24)
  • Session Tracking (00:30)
  • Example: Session Tracking Code (00:57)
  • DEMO: Session Tracking Code (20:31)
  • HttpSession - URL Rewriting (03:31)
  • Summary (00:34)
;