Library

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

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

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
About this Course

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 is the target audience?

  • 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
Basic knowledge
  • 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
What you will learn
  • 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
Curriculum
Lectures quantity: 36
Common duration: 03:32:51
Introduction to Your First Java Servlets and JSP Web Application in 25 Steps
  • First Web Application in 25 Steps : Course Introduction  

    Github Repository link : https://github.com/in28minutes/JavaWebApplicationStepByStep

Web Application Basics
  • Congratulations  
  • Step 01 : Setting up Your First Java Web Application  
  • Step 01 : Theory 1 - Maven and Magic  
  • Step 01 : Theory 2 - What is a Servlet?  
  • Step 01 : Theory 3 - Web Application Request Flow  
  • Step 01 : Theory 4 - Understand Your First Servlet - LoginServlet  
  • Fastest Approach to Solve All Your Exceptions  
  • Step 02 : Create LoginServlet From Scratch Again and Your First View  
  • Step 02 : Theory - Play Time - Let's Try Breaking Things  
  • Step 03 : Passing Request Parameters using Get Method  
  • Step 03 : Theory - Introduction and End to Scriptlets  
  • Step 04 : Disadvantages of Get Parameters  
More Basics : Request Methods Get/Post and Servlets
  • Step 05 : Your First Post Request  
  • Step 06 : Your First Servlet doPost Method  
  • Step 07 : Lets Add a Password Field  
  • Step 08 : Let's Add Todos to Welcome Page  
  • Step 09 : Take a Breather and Refactor  
  • Step 10 : Redirecting to Another Servlet  
Adding More Java Web Application Features
  • Step 11 : Your First JSTL Tag  
  • Step 12 : Session Scope vs Request Scope  
  • Step 13 : Add new Todo Functionality  
  • Step 14 : Add delete Todo Functionality  
  • Step 15 : Import Bootstrap and JQuery with WebJars.  
  • Step 17 : Playing around with Bootstrap  
  • Step 18 : Let's Clean up and Refactor  
  • Step 19 : Adding a Filter  
  • Step 20 : Adding Logout Functionality  
Let's Take in Some Theory
  • Step 21 : Let's understand Maven and Tomcat  
  • Step 22 : Servlet Life Cycle  
  • Step 23 : Model 1 and Model 2 (MVC) Architectures  
Let's get back to Building the Application Again
  • Step 24 : Refactoring - Move Add Functionality to New Servlet  
  • Step 25 : Adding Category Field  
  • Step 26 : Using JSP Fragments for Header, Footer & Navigation  
  • Next Steps  
  • Our Best Courses : Bonus Lecture  
Reviews (0)