Java Backend Development with Spring Boot
Develop Java web backends from Servlet, JSP, and JDBC foundations through Spring Boot, Spring MVC, JSON REST APIs, Postman testing, Spring Security, JWT authentication, and introductory microservices with Spring Cloud.
Start this course from the course page to save your progress.
Servlets and JSP Form Handling
Understand the Servlet lifecycle, deployment configuration, request and response handling, and the role of JSP in server-rendered Java applications. Apply these concepts by processing submitted form data and displaying the result on a new page.
In this two-hour codelab, configure a Java web application, trace the Servlet lifecycle, process a form containing a user's name and email, and render the submitted details using a Servlet and JSP view.
JDBC Data Access and Result Sets
Connect Java applications to relational databases using JDBC drivers, connection configuration, statements, and result sets. Retrieve records safely and examine how scrollable and updatable result sets support data navigation and modification.
In this two-hour codelab, configure a JDBC driver, connect to a database, execute a query, retrieve every record from a table, display the results in the console, and explore scrollable and updatable result-set behavior.
Spring Boot Backend Fundamentals
Compare monolithic and microservice web application architectures, then examine Spring Boot project structure, dependency injection, common annotations, request handling, and the operations involved in serving a backend endpoint.
In this two-hour codelab, create and run a Spring Boot backend, use controller and mapping annotations, and implement a /hello endpoint that returns a welcome message while relating the project to monolithic and microservice architectures.
Spring MVC REST APIs and Postman
Build JSON-based REST APIs with Spring MVC controllers, request mappings, HTTP operations, typed request and response bodies, validation, and consistent error handling. Exercise and inspect the endpoints with Postman.
In this two-hour codelab, extend a Spring Boot application with JSON REST endpoints, test common HTTP operations in Postman, inspect status codes and payloads, and handle invalid input and application errors cleanly.
Spring Security, JWT, and Microservices
Distinguish authentication from authorization, trace the Spring Security request flow, issue and validate JSON Web Tokens, protect REST endpoints, and connect these security concepts to an introductory Spring Cloud microservices architecture.
In this two-hour codelab, add Spring Security to a REST API, authenticate a user, create and validate JWTs, access a protected endpoint, and map the same authentication flow onto a simple Spring Cloud microservices design.