Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udacity

Spring Framework and Spring Boot

via Udacity

Overview

Udacity Diwali Sale: 10% Off All Programs
Use code DIWALI2026 at checkout for 10% off a monthly plan, bundle, or single Nanodegree. For payments in INR. Ends Nov 11.
Get 10% Off
In this course, "Spring Framework and Spring Boot" you'll explore the fundamental concepts of the Spring Framework and the powerful capabilities of Spring Boot. Starting with the principles of Dependency Injection and the Spring Bean lifecycle, you'll learn to build stand-alone applications with robust configurations. The course emphasizes hands-on applications, guiding you through creating web applications using Spring MVC, form validation techniques, and rendering dynamic views with Thymeleaf. You'll also cover best practices in exception handling, application monitoring with Spring Boot Actuator, and leverage Aspect-Oriented Programming for enhanced performance. Cap off your learning with a practical project called TalkBoard.

Syllabus

  • Introduction to Spring Framework and Spring Boot — Meet the course, see what you'll build with Spring Boot, and check the Java background you'll need. Every exercise and the project run in a ready-to-use Udacity workspace.
  • Understand Spring Core and Dependency Injection — Learn Spring Core concepts, including Inversion of Control and Dependency Injection patterns, and how to configure beans using annotations, Java config, and XML.
  • Apply Dependency Injection with Spring Boot — Watch Spring choose between several repository beans in a product catalog. Then refactor a notification service to use constructor injection, `@Primary`, and `@Qualifier` so it stays loosely coupled.
  • Understand Spring Bean Lifecycle and Scopes — Explore Spring bean lifecycle phases and scopes, including lifecycle callbacks, singleton, prototype, web scopes, and how instance sharing and cleanup responsibilities differ.
  • Apply Bean Lifecycle Customization and Scopes — Explore a booking system that mixes shared, per-use, and per-request beans. Then build a checkout app with lifecycle callbacks, prototype lookups through a provider, and request-scoped state.
  • Understand Spring Boot Fundamentals — Explore Spring Boot fundamentals: how starter dependencies drive auto-configuration, the back-off model, Boot 4 modularization, and tools for diagnostics and rapid development.
  • Apply Spring Boot to Build Stand-alone Applications — See Boot 4 modular starters, auto-configuration, and DevTools at work in a weather service. Then build a bookmark service with an HTTP endpoint, profile-specific settings, a custom banner, and selectively exposed Actuator endpoints.
  • Understand Spring Boot Externalized Configuration — Learn how Spring Boot externalizes configuration, manages precedence, uses @Value for single values, @ConfigurationProperties for groups, and supports profiles and validation for reliable setups.
  • Apply Type-Safe Configuration in Spring Boot — Bind nested, validated settings into a typed configuration class for a notification service. Then configure a payment service whose credentials, retry policy, and currencies vary across dev, staging, and prod profiles.
  • Understand Spring MVC Architecture — Follow the flow of an HTTP request in Spring MVC, from DispatcherServlet to controller and view, understanding each component's role in handling and rendering responses.
  • Apply Spring MVC to Build Web Applications — Explore an event-registration site built with Spring MVC handlers. Then build a product catalog controller covering listing, filtering, path variables, form binding, and post-redirect-get with flash messages.
  • Understand Form Binding and Validation in Spring — Learn how Spring MVC binds form data to Java objects, applies validation rules, and uses BindingResult for handling and displaying user input errors effectively.
  • Apply Form Validation with Custom Rules — Validate a job application form with built-in, repository-backed, and cross-field rules. Then build a registration form with your own custom constraints and field-level error messages.
  • Understand Server-Side Rendering with Thymeleaf — Learn server-side rendering with Thymeleaf: natural templates, expressions, iteration, conditions, and fragments, plus when to choose SSR over client-side rendering in Spring Boot.
  • Apply Thymeleaf to Build Dynamic Views — See reusable fragments, iteration, and conditionals power a museum exhibition site. Then convert a static product catalog into data-driven Thymeleaf pages that share one header, navigation bar, and footer.
  • Understand Centralized Exception Handling in Spring — Learn how Spring centralizes exception handling, using @ExceptionHandler and @ControllerAdvice to ensure consistent, secure error responses in web applications.
  • Apply Global Exception Handling in Spring MVC — Map an exception hierarchy to custom error views and status codes in a URL shortener. Then build a global handler for an order store that links each error page to its log entry with a correlation ID.
  • Understand Spring Boot Actuator for Operational Visibility — Explore how Spring Boot Actuator provides operational visibility with controlled endpoints, health checks, security, and integration with monitoring tools like Prometheus.
  • Apply Actuator to Monitor Spring Boot Applications — See a roast-monitoring app expose selected Actuator endpoints behind an operator role. Then secure an inventory service's monitoring endpoints with HTTP Basic, and add custom health and info contributors.
  • Understand Aspect-Oriented Programming in Spring — Learn how Spring AOP separates cross-cutting concerns, applies advice using proxies, defines key AOP terms, and configures pointcuts for cleaner business code.
  • Apply AOP for Logging and Performance Monitoring — See a library loan desk use Spring AOP for logging, timing, and policy checks. Then add service-wide logging and annotation-driven performance monitoring to a storefront without changing its business methods.
  • Understand Spring Expression Language — Learn Spring Expression Language (SpEL) to build dynamic logic, query data, use variables, collections, and ensure safe evaluation in Spring applications.
  • Apply SpEL for Dynamic Configuration and Security Rules — See SpEL evaluated against beans, method calls, and the security context in a recipe app. Then use it in a document vault for a computed storage path, selective caching, and an owner-or-admin delete rule.
  • Project - TalkBoard — Finish TalkBoard, a conference talk review system, by implementing its stubbed features with Spring DI, MVC, validation, SpEL security, exception handling, Actuator, and AOP.

Taught by

James Willett

Reviews

Start your review of Spring Framework and Spring Boot

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.