Java Servlets and JSP - Build Java EE(JEE) app in 25 Steps

Learn Java EE - Java Servlets and JSP with a Hands-on Step by Step Approach building a Todo Management Application!
Free tutorial
Rating: 4.4 out of 5 (3,337 ratings)
53,721 students
Java Servlets and JSP - Build Java EE(JEE) app in 25 Steps
Free tutorial
Rating: 4.4 out of 5 (3,337 ratings)
53,721 students
Build a Basic Todo Management Application piece by piece in 25 Steps.
Understand Basic Web Application Architecture
Understand and use Basics of Java EE - Servlets, JSP, Scriptlets, JSTL, web.xml and EL
Understand Servlet LifeCycle
Use HttpRequest - GET/POST, Request Parameters
Understand HTTP Response - Response Status - 404,200,500 etc
Understand HTML Forms - Method, Action & Form Data
Understand Basics of using Maven, Tomcat and Eclipse
Understand Difference between Session and Request Scopes
Use Maven for Basic Dependency Management
Run Web Application in Tomcat
Style web applications with Bootstrap (Basics)
Use Filters to intercept Request

Requirements

  • You are expected to be familiar with Java.
  • You are NOT expected to have any experience with Eclipse,Maven or Tomcat.
  • We will help you install Eclipse and get up and running with Maven and Tomcat.
Description

Reviews

"It's so easy to follow and you learn seamlessly by examples"

"Simple and perfect. I would recommend for any one who wants to begin Java web development"

"I'd strongly recommend to all the beginners to go through this tutorial. It helps in clearing side dish technologies for Java. The quality is good and the instructor really explained very clearly. Thanks!"

"Perfect for a beginner to understand the basics & to continue interest in web application development !! Thanks :)"

Course Description

Developing your first Java Web Application using JSP and Servlets is fun.

In this course, you will learn the basics developing a Basic Todo Management Application using Java Servlets and JSP with Login and Logout functionalities.

You will build a Dynamic Website using the Core technologies of Java Web Programming. You will understand the basic concepts of Java Web Application Development - HTTP protocol, Request-Response cycle, Java Servlets, JSPs.

You will build the website step by step - in more than 25 steps. This course would be a perfect first step as an introduction to Java Web Application Development.

We will be using Tomcat Web Server and Eclipse IDE. We will help you set these up.

You will learn

  • Basic Web Application Architecture - Model 1 and Model 2 MVC
  • Basics of Java EE - Servlets, JSP, Scriptlets, JSTL, web dot xml and EL
  • Basic Flow of a Web Application, Forms, Request and Response
  • Basics of creating a Web Page using CSS and HTML
  • Basics of using Maven, Tomcat and Eclipse
  • Difference between Session and Request Scopes

Steps

  • Step 01 : Up and running with a Web Application in Tomcat
  • Step 02 : First JSP
  • Step 03 : Adding a Get Parameter name
  • Step 04 : Adding another Get Parameter Password
  • Step 05 : Let's add a form
  • Step 06 : New Form and doPost
  • Step 07 : Adding Password and Validation of User Id / Password combination
  • Step 08 : Adding a TodoService and Todos to welcome page
  • Step 09 : Bit of Refactoring - Packages
  • Step 10 : Redirect from One Servlet to another - New TodoServlet.
  • Step 11 : First JSTL Tag : Using a Loop around todos
  • Step 12 : Difference between Session and Request Scopes
  • Step 13 : Add a New Todo
  • Step 14 : Delete Todo with equals and hashcode methods
  • Step 15 : Adding webjars for jquery and bootstrap
  • Step 16 : Missing Step :) We want you to take a break. Nothing in here..
  • Step 17 : Updating Bootstrap to 3.3.6
  • Step 18 : More Refactoring
  • Step 19 : Adding a Filter for More Security.
  • Step 20 : Logout
  • Step 21 : Theory : Understand Maven and Tomcat
  • Step 22 : Theory : Servlet LifeCycle
  • Step 23 : Theory : Model 1 and Model 2 MVC Architectures
  • Step 24 : Moving Add Functionality to a New Page.
  • Step 25 : Add Category Field
  • Step 26 : Format the JSPs better.
  • Step 27 : JSP Fragments

We do NOT interact with a Database in this Beginner’s Course.

Who this course is for:
  • You are looking forward to developing your first Java Web Application
  • You have some experience with Java Web Applications but did not completely understand the basics
  • You want to learn basics of JSP and Servlets
Course content
6 sections • 36 lectures • 3h 34m total length
  • First Web Application in 25 Steps : Course Introduction
    01:17
  • Congratulations
    00:41
  • Step 01 : Setting up Your First Java Web Application
    09:31
  • Step 01 : Theory 1 - Maven and Magic
    06:17
  • Step 01 : Theory 2 - What is a Servlet?
    02:13
  • Step 01 : Theory 4 - Understand Your First Servlet - LoginServlet
    06:37
  • Fastest Approach to Solve All Your Exceptions
    00:21
  • Step 02 : Create LoginServlet From Scratch Again and Your First View
    12:37
  • Step 02 : Theory - Play Time - Let's Try Breaking Things
    03:57
  • Step 03 : Passing Request Parameters using Get Method
    09:12
  • Step 03 : Theory - Introduction and End to Scriptlets
    05:14
  • Step 04 : Disadvantages of Get Parameters
    04:05
  • Step 05 : Your First Post Request
    06:53
  • Step 06 : Your First Servlet doPost Method
    05:10
  • Step 07 : Lets Add a Password Field
    09:10
  • Step 08 : Let's Add Todos to Welcome Page
    08:43
  • Step 09 : Take a Breather and Refactor
    02:45
  • Step 10 : Redirecting to Another Servlet
    05:29
  • Step 11 : Your First JSTL Tag
    07:53
  • Step 12 : Session Scope vs Request Scope
    07:17
  • Step 13 : Add new Todo Functionality
    09:26
  • Step 14 : Add delete Todo Functionality
    09:09
  • Step 15 : Import Bootstrap and JQuery with WebJars.
    06:25
  • Step 17 : Playing around with Bootstrap
    07:09
  • Step 18 : Let's Clean up and Refactor
    06:50
  • Step 19 : Adding a Filter
    10:56
  • Step 20 : Adding Logout Functionality
    02:55
  • Step 21 : Let's understand Maven and Tomcat
    04:19
  • Step 22 : Servlet Life Cycle
    03:25
  • Step 23 : Model 1 and Model 2 (MVC) Architectures
    02:58
  • Step 24 : Refactoring - Move Add Functionality to New Servlet
    05:40
  • Step 25 : Adding Category Field
    15:02
  • Step 26 : Using JSP Fragments for Header, Footer & Navigation
    05:54
  • Bonus Lecture
    00:30
  • Next Steps
    00:32

Instructor
DevOps, AWS, Docker, Kubernetes, Java & Spring Boot Experts
in28Minutes Official
  • 4.4 Instructor Rating
  • 97,707 Reviews
  • 493,993 Students
  • 32 Courses

Ranga is an AWS Certified Solutions Architect Associate.

We are teaching 30+ Courses to 450K Learners on DevOps, Cloud ( AWS, PCF, GCP, and Azure ), Full Stack (  React, Angular ), Java Programming, and Java Frameworks ( Spring, Spring Boot, Spring MVC,  Hibernate ).

[LEARNING PATHS 00 to 05 for DevOps, Full Stack, Cloud,  Spring Boot and Java in the FAQ below]

We use Problem-Solution based Step-By-Step Hands-on Approach With Practical, Real-World Application Examples.

We have a wide range of courses focused on Spring Boot -  Creating APIs and Microservices, Deploying to Cloud ( AWS, Azure, Docker, Kubernetes, Azure ), and Integrating with Full Stack Front end frameworks ( React & Angular ).


[LEARNING PATHS]


[LEARNING PATH 00] - DevOps 

Master DevOps with Docker, Kubernetes and Azure DevOps


[LEARNING PATH 01] - Spring and Spring Boot Web Applications & API Developer

Spring Framework Master Class - Learn Spring the Modern Way!

Learn Spring Boot in 100 Steps - Beginner to Expert

Master Java Web Services and RESTful API with Spring Boot

Master Hibernate and JPA with Spring Boot in 100 Steps

Master Java Unit Testing with Spring Boot & Mockito


[LEARNING PATH 02] - Full Stack Developer with Spring Boot, React and Angular

Go Java Full Stack with Spring Boot and React

Go Java Full Stack with Spring Boot and Angular


[LEARNING PATH 03] - Cloud Microservices with Spring Boot, Docker & Kubernetes

Master Microservices with Spring Boot and Spring Cloud

Master Docker with Java - DevOps for Spring Microservices

Master Kubernetes with Docker on Google Cloud, AWS & Azure


[LEARNING PATH 04] - Cloud Developer with Spring Boot, AWS, Azure, and PCF

Learn AWS - Deploy Java Spring Boot to AWS Elastic Beanstalk

Master Azure Web Apps - Take Java Spring Boot Apps to Azure

Master Pivotal Cloud Foundry with Spring Boot Microservices


[LEARNING PATH 05] - Learn AWS with Microservices, Docker, and Kubernetes

Learn AWS - Deploy Java Spring Boot to AWS Elastic Beanstalk

Master AWS Fargate & ECS with Java Spring Boot Microservices

Master Kubernetes with Docker on Google Cloud, AWS & Azure


[OUR BELIEFS]

Best Courses are interactive and fun.

Foundations for building high-quality applications are best laid down while learning.


[OUR APPROACH]

We use the 80-20 Rule. We discuss 20% of things used 80% of the time in depth. We touch upon other things briefly equipping you with enough knowledge to find out more on your own.

Problem Solution based Step by Step Hands-on Learning.