Java Web Development Under The Hood

What Java professionals need to know about servlets, sessions, cookies, JSP, JSTL, Ajax and websockets
Java Web Development Under The Hood
File Size :
3.07 GB
Total length :
8h 12m



Matt Greencroft


Last update




Java Web Development Under The Hood

What you’ll learn

You’ll be better equipped to understand why things aren’t working, and how to solve errors and issues that occur.
If you’re using a framework to build websites, such as Spring, JSF or Struts, you’ll understand the complexity that may be hidden by your framework, which will give you more control over how your websites work.

Java Web Development Under The Hood


You should have some basic experience in programming with the Java programming language.
You should have installed and working a Java Development Kit (JDK) and a suitable IDE, such as Eclipse or IntelliJ
No prior knowledge of web development is needed.


This is a course for Java professionals (or aspiring Java professionals) who need an in depth understanding of how web applications work in Java. In this course we cover how to build a website without using a framework. That might sound like a crazy thing to do but frameworks often hide the complexity of what’s going on under the hood, so when things go wrong, we don’t understand why, and therefore how to fix them. If you have never built a website with Java, or if you have only ever built sites using frameworks such as Spring Boot, JSF or Strus, this course will give you a really good grounding in the basics. And we’ll also cover a number of topics that every good web developer should understand no matter what framework you use.
You don’t need to be a Java Expert to do this course, but you should be able to confidently create basic Java code before you start. Knowledge of simple HTML is also useful.


Section 1: Module 1

Lecture 1 Course overview

Lecture 2 How to get support while you’re taking this course

Section 2: Chapter 1 – Introduction

Lecture 3 The role of the webserver

Lecture 4 What are WAR files?

Lecture 5 Building a WAR file

Lecture 6 Deploying a WAR file

Section 3: Chapter 2 – Servlets

Lecture 7 What is a dynamic website?

Lecture 8 Introducing the Servlet API

Lecture 9 Loading up the Case Study

Lecture 10 The structure of a servlet

Lecture 11 Writing our first Servlet

Lecture 12 Configuring and running our servlet

Lecture 13 What might go wrong – a look at some frequent problems

Section 4: Chapter 3 – Servlet Exercise

Lecture 14 Servlet exercise – instructions

Lecture 15 Servlet exercise – walkthrough

Section 5: Chapter 4 – Handling forms

Lecture 16 Creating a simple form

Lecture 17 Creating a servlet to receive the form’s data

Lecture 18 Understanding and fixing errors

Section 6: Chapter 5 – GET and POST

Lecture 19 The visual difference between GET and POST

Lecture 20 When to use GET

Lecture 21 When to use POST

Lecture 22 Refreshing after a POST

Lecture 23 GET and POST exercise – instructions

Lecture 24 GET and POST exercise – walkthrough

Section 7: Chapter 6 – POST-REDIRECT-GET

Lecture 25 The problem with POST

Lecture 26 The POST-REDIRECT-GET pattern

Lecture 27 Implementing POST-REDIRECT-GET

Section 8: Chapter 7 – Sessions and Cookies

Lecture 28 The web is stateless

Lecture 29 Introducing cookies

Lecture 30 The challenges of cookies

Lecture 31 Introducing Java Server Sessions

Lecture 32 Implementing Java Server Sessions

Lecture 33 Viewing the session cookie

Lecture 34 Managing abandoned sessions

Lecture 35 Users with cookies disabled

Section 9: Chapter 8 – Servlet Security

Lecture 36 Authentication and authorization

Lecture 37 Setting up authorization

Lecture 38 Basic authentication

Lecture 39 Forms based authentication

Section 10: Module 2

Lecture 40 Introduction to module 2

Section 11: Chapter 1 – Servlet Annotations

Lecture 41 Loading up the case study

Lecture 42 Configuring servlets

Lecture 43 Configuring security

Section 12: Chapter 2 – Servlet Filters

Lecture 44 Setting up a simple logging filter

Lecture 45 Changing values with a filter

Section 13: Chapter 3 – JSP Introduction

Lecture 46 The need for JSP

Lecture 47 The scriptlet tag

Lecture 48 How JSP works

Section 14: Chapter 4 – Further JSP

Lecture 49 Converting servlets to JSP – part 1

Lecture 50 Converting servlets to JSP – part 2

Lecture 51 Using expressions

Lecture 52 Including common content

Section 15: Chapter 5 – MVC

Lecture 53 Using servlets and JSP together – the concept

Lecture 54 Implementing servlets and JSP together – editing the servlet

Lecture 55 Implementing servlets and JSP together – editing the JSP page

Lecture 56 The principles of MVC

Lecture 57 MVC exercise – instructions

Lecture 58 MVC exercise – walkthrough

Section 16: Chapter 6 – JSTL

Lecture 59 Custom tags

Lecture 60 Using tag libraries

Lecture 61 The out tag

Lecture 62 The forEach tag

Lecture 63 The if tag

Lecture 64 Formatting tags

Section 17: Chapter 7 – AJAX

Lecture 65 What is AJAX?

Lecture 66 How Ajax works

Lecture 67 Using AJAX – preparing our project

Lecture 68 AJAX request Javascript

Lecture 69 Responding to an AJAX request

Lecture 70 AJAX callback Javascript

Lecture 71 Using JSON

Section 18: Chapter 8 – Asynchronous Servlets

Lecture 72 What is Comet?

Lecture 73 Why asynchronous servlets are needed

Lecture 74 Javascript needed to use asynchronous servlets

Lecture 75 Creating asynchronous servlets – part 1

Lecture 76 Creating asynchronous servlets – part 2

Lecture 77 The problem with asynchronous servlets

Section 19: Chapter 9 – Websockets part 1- Server to client

Lecture 78 Preparing the project for websockets

Lecture 79 The Session Handler

Lecture 80 The websocket

Lecture 81 Integrating websockets into our project

Lecture 82 Websockets exercise – instructions

Lecture 83 Websockets exercise – walkthrough

Section 20: Chapter 10 – Websockets part 2 – Client to server

Lecture 84 Making duplex websockets

Lecture 85 Course Wrap-up

Section 21: Goodbye!

Lecture 86 Bonus lecture

Java developers who want to get a better understanding of the concepts underlying how Java websites really work

Course Information:

Udemy | English | 8h 12m | 3.07 GB
Created by: Matt Greencroft

You Can See More Courses in the Developer >> Greetings from

New Courses

Scroll to Top