Course
Skills Expanded
Java: Creating a Basic Web App (Interactive)
Learn how to create a basic web application with the Java Language.
What you'll learn
Learn how to create a basic web application with the Java Language. In this interactive course, you'll learn how to create a Java Servlet, display dynamic data in a JSP page, organize your data with a Model class, and connect your application to a database to read and write data.
Table of contents
Creating Our First Java Web App and Servlet
19mins
- Creating Our First Java Web App and Servlet 4m
- Demo: Creating a Servlet 3m
- Challenge: Printing Text from a Servlet 0m
- URL Mappings 2m
- Demo: URL Mappings 3m
- Challenge: WebServlet Annotation 0m
- Challenge: Deployment Descriptor File 0m
- Getting Data into a Servlet from Query Parameters 1m
- Demo: Getting Data into a Servlet from Query Parameters 1m
- Challenge: Getting Query Parameters 0m
- Getting Data into a Servlet from a Form 2m
- Demo: Getting Data into a Servlet from a Form 2m
- Challenge: Making a Form 0m
- Challenge: Getting Form Parameters 0m
- Summary 0m
Creating Our First JSP Page
16mins
- Creating Our First JSP Page 2m
- Demo: Creating Our First JSP Page 2m
- Challenge: Java Server Pages 0m
- Passing Data to a JSP Page 2m
- Demo: Passing Data to a JSP Page 3m
- Challenge: Passing Data to Java Server Pages 0m
- Challenge: Getting Data in a JSP Page 0m
- Displaying a List of Book Titles 3m
- Demo: Displaying a List of Book Titles 3m
- Challenge: Passing the To Do List 0m
- Challenge: Displaying the To Do List 0m
- Summary 0m
Creating A Java Book Class
19mins
- Creating A Java Book Class 1m
- Demo: Creating A Java Book Class 3m
- Challenge: Creating a List of To Do Objects 0m
- Displaying a List of Books and their Properties 1m
- Challenge: Displaying a Table of To Do Objects 0m
- Routing to Pages in ControllerServlet 5m
- Demo: Routing to Pages in ControllerServlet 8m
- Challenge: Adding New Items 0m
- Challenge: Handling Actions in ToDoServlet 0m
- Challenge: Adding Insert to ToDoServlet 0m
- Summary 0m
Connecting to Our Model
18mins
- Connecting to Our Model 4m
- Installing MySQL on macOS with Homebrew 2m
- Demo: Connecting to Our Model 2m
- Challenge: Connecting to the Database 0m
- Querying our Database Table 4m
- Demo: Querying our Database Table 2m
- Challenge: Getting All To Do Items from the Database 0m
- Challenge: Calling ToDoDAO listAllItems() 0m
- Using a Prepared Statement 3m
- Demo: Using a Prepared Statement 1m
- Challenge: Inserting a New To Do Item into the Database 0m
- Challenge: Calling toDoDAO insertTodo() 0m
- Summary 0m
Installing
4mins