Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
Programming

/

Back-end

Mastering Spring Web MVC

This course, created with the latest version of Spring Web MVC, covers everything from basic concepts of Spring Web MVC to API usage, internal architecture, principles, and flows, from beginner to intermediate/advanced levels. Based on this, you will learn the core technologies of Spring Web MVC.

(5.0) 8 reviews

178 learners

  • leaven
MVC
Spring Boot
Java
Spring
Thymeleaf

Reviews from Early Learners

What you will learn!

  • Spring Web MVC Basics and Concepts

  • Understanding the Spring Web MVC Architecture and Principles

  • Understanding the Core Execution Structure of Spring Web MVC

  • Spring Web MVC Annotation Techniques

  • Spring Web MVC Feature Extension and Application

You will fully understand the internal structure and flow of Spring Web MVC!

If you want to become an advanced developer who can use the high-level basic API of Spring Web MVC well while also having the ability to dig into the low-level fundamentals and principles, this course will serve as a guide.

Upgrade to an advanced level that allows you to expand and apply internal principles and core functions beyond simple usage.

By analyzing and delving into the principles and flow of core functions, you'll learn how to extend and apply them beyond simple basic usage, gaining insights from a development perspective. This, in turn, will serve as a foundation for cultivating your capabilities and competitiveness as a developer.


Courses for beginners, intermediate, and advanced learners

This course is designed for beginners who are new to Spring Web MVC, as well as intermediate and advanced users who have basic knowledge or experience but want to acquire more in-depth knowledge and deeply understand the core principles, internal structure, and operating methods of Spring Web MVC and apply them .

Key Learning Contents 💡

This lecture focuses on five key topics for Spring Web MVC: servlet, Spring Web MVC basics, Spring Web MVC utilization, Spring Web MVC execution structure, and common functions .

1. Servlet

In the Servlet section, you'll learn how web application architecture has evolved through the evolution of Java web technology. You'll understand the challenges addressed by transitioning from a Servlet-based Model 1 architecture to a Model 2 architecture that adopts the MVC pattern. You'll also explore how the introduction of the Front Controller pattern, which centralizes request processing, improves scalability and maintainability. You'll also analyze how Servlets operate and their lifecycle within a web container, and how Spring integrates with and operates within this Servlet environment.

2. Spring Web MVC Basics

In this Spring Web MVC Basics section, you'll learn about the initialization process a Spring Boot-based web application undergoes when it runs. You'll understand how the servlet container and Spring container are separated and connected, and you'll also analyze how the DispatcherServlet works and where it's located. Through this process, you'll gain a structural understanding of Spring's web request processing flow.

3. Using Spring Web MVC

In the Spring Web MVC Utilization section, you will learn about the actual request processing flow in Spring MVC and various annotation-based mapping techniques. You will also learn in detail how annotations such as @RequestMapping and @GetMapping work internally, and the roles of components such as HandlerAdapter and ViewResolver. You will also examine the process of executing controller methods through reflection. In the type conversion feature, you will learn how data conversion is performed using Converter, Formatter, ConversionService, etc., and you will implement your own custom converter. You will also practice validating request data using the Validator interface and Bean Validation.

4. Understanding Spring Web MVC Execution Structure

In this section, "Understanding Spring Web MVC Execution Structure," you'll delve deeper into the internal execution architecture of Spring MVC. You'll learn the internal workings of how an HTTP request is mapped to a controller and the corresponding method is executed. You'll also gain a fundamental understanding of how Java reflection is used for request mapping and method execution, and you'll also analyze the structure of method parameter binding and type conversion. Through this process, you'll move beyond simply using Spring's request processing flow to gain the perspective of an advanced developer who understands its internal structure.

5. Spring Web MVC Common Features

In the Spring Web MVC Common Features section, you'll learn about the various common features Spring MVC offers from a practical perspective. We'll delve into essential elements of web development, including model object binding, form validation, how servlet filters and interceptors work, and the view processing process. We'll also examine the exception handling architecture, examining how @ExceptionHandler and HandlerExceptionResolver work, and analyze the entire exception handling flow with a diagram. Finally, you'll learn how to handle file uploads and REST API calls through hands-on practice, providing comprehensive experience with frequently used features in the field.

Course Structure and Detailed Curriculum 🏃

1. Java Web Evolution – Servlet, Model 1, Model 2

The development of Java web technology is analyzed from the perspective of fundamental principles and architectural changes, rather than simply learning concepts.

Compares the transition process from the early servlet-based web application (Model 1) to Model 2, which introduced the MVC pattern, and the resulting structural advantages and disadvantages.

Use diagrams and flowcharts to visually understand how each architecture works.

2. Front Controller Pattern – Front Controller Pattern and Spring MVC

Learn about the front controller pattern for centrally processing requests in web applications and analyze how Spring MVC's DispatcherServlet implements it.

Going beyond simple functional learning, we explore the internal workings of handler mapping, handler adapters, view resolvers, etc. with diagrams.

3. Understanding Servlets – Servlet concepts, events and life cycle, request process, container operation principles, etc.

Beyond the basic concepts of servlets, we analyze how servlets work in a web container from an internal architectural perspective.

We delve deeper into the step-by-step tasks performed by a servlet container as a request comes in and a response is returned, using diagrams to understand the overall flow.

4. Servlet and Spring – Servlet container and Spring container connection structure, Spring operation principle

We take a deep dive into the differences and connection structures between servlet containers and Spring containers.

Learn how Spring integrates with servlet-based web applications by structurally analyzing the linkage process between internal components and clearly distinguishing the roles of Spring's IoC container and servlet container.

5. Spring Web MVC Initialization – Spring Boot based initialization process, servlet container & spring container, initialization classes

Learn by diagramming the initialization steps of internal components that occur during the initialization process of a Spring Boot-based web application.

We will look at the interconnection relationship and structure of the servlet container and the spring container, and the automatic configuration initialization classes that are performed at the time of container initialization.

6. Spring Web MVC Basics – Architecture, DispatcherServlet and other core classes

We will analyze the entire flow from when a request comes in to when a response is returned by diagramming the core architecture of Spring MVC.

Learn the roles and internal working principles of core components (HandlerMapping, HandlerAdapter, ViewResolver, etc.) that operate around DispatcherServlet.

7. Utilizing Spring Web MVC – Request Process, Handler Method, Various Annotation Techniques, Analysis of Internal Execution Structure

We take a deep dive into the internal operations performed during Spring MVC's request processing.

Learn the principles of request mapping, such as @RequestMapping, @GetMapping, and @PostMapping, and explain the handler execution process and mapping process using reflection in a flowchart.

8. Type conversion – Data conversion method and application, Converter, ConversionService, Formatter

We analyze Spring's data transformation features beyond simple usage to its internal workings.

We will learn how Converter, ConversionService, and Formatter work and how to design custom type conversion using them.

9. Validation – Form Validation, Validator Validation, Bean Validation

Analyze the validation features provided by Spring MVC at the architectural level.

We will explore the internal structure of manual validation using the Validator interface and the working principles of Bean Validation (@Valid, @Validated), and learn how to apply global validation.

10. Understanding Spring Web MVC execution structure – Understanding Java reflection, request mapping, and method parameter execution principles and structure

We analyze the principles of how request mapping and handler execution in Spring MVC work using reflection.

This section explains the method parameter conversion and execution structure during the process of a request being passed to a controller method, with a diagram, and implements advanced custom functions using an internal class.

11. Spring Web MVC Common Features – Model, Binding, Validation, Servlet Filter, Interceptor, View Processing, Logging

Learn about the common features provided by Spring MVC, focusing on the internal working principles and flow, along with how to use individual APIs.

We will analyze the data binding process, how servlet filters and interceptors work, the view processing process, and logging settings step by step.

12. Exception handling – Exception handling types and methods, @ExceptionHandler, HandlerExceptionResolver

Learn Spring MVC's exception handling techniques step by step, focusing on the internal implementation principles.

Analyze how @ExceptionHandler and HandlerExceptionResolver work, and use diagrams to deeply understand the entire exception handling flow.

13. Multipart – Spring’s file handling concept, file upload

We will analyze how file upload functionality using Spring's MultipartFile is handled internally and look at how to implement form-based and Rest-based file uploads.

Understand the flow and processing of MultipartResolver and MultipartHttpServletRequest.

14. Rest Clients – RestClient, HTTP Interface

We will look at the concept and usage of RestClient and HTTP Interface, two methods for calling RESTful API in Spring, and practice processing basic CRUD requests through linkage with an actual REST API.

Recommended for
these people

Who is this course right for?

  • For those who want to thoroughly master the fundamentals of Spring Web MVC.

  • For those who want to go beyond the basics of Spring Web MVC, understand its internal principles, and extend it.

  • Those who want to learn advanced techniques in Spring Web MVC.

Need to know before starting?

  • Java (Required)

  • Spring Basics (Essential)

  • Spring Boot (Recommended)

Hello
This is

9,774

Learners

320

Reviews

1,206

Answers

4.9

Rating

5

Courses

다양한 프로젝트에서 웹/모바일/솔루션 제품 개발과 관련된 업무를 진행해 오고 있으며 분석/설계/개발 Role 을 맡아 오고 있습니다.

공공기간, 교육프로그램, 기업 프로젝트, 쇼핑몰 등의 웹 개발 및 솔루션 프로그램, 프레임워크, 오픈소스 연동 등의 아키텍처 설계 및 구조적 고도화 개선 등을 해 오고 있으며 개발, PL 등의 역할을 맡았습니다.

다양한 Open Source 와 여러 기술적인 경험들을 통해 웹의 전반적인 기술 흐름들을 익혔으며 개발 경험이 거듭될 수록 요구사항의 기능 구현에만 거치지 않고 좀 더 OOP 적인 구조의 소프트웨어로서 안전성과 성능을 고려한 아키텍처링과 튜닝의 기술들을 접목시켜 지속적으로 더 훌륭한 소프트웨어를 완성하기 위한 연구와 개발 실무를 책임감 있게 맡아 오고 있습니다.

 

Curriculum

All

119 lectures ∙ (41hr 5min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

8 reviews

5.0

8 reviews

  • test123님의 프로필 이미지
    test123

    Reviews 14

    Average Rating 4.8

    5

    21% enrolled

    The content itself is flawless. However, the subtitles seem to be less accurate compared to other Inflearn videos.

    • uheejoon님의 프로필 이미지
      uheejoon

      Reviews 33

      Average Rating 5.0

      5

      8% enrolled

      • newbeginner님의 프로필 이미지
        newbeginner

        Reviews 36

        Average Rating 4.8

        5

        100% enrolled

        • javython님의 프로필 이미지
          javython

          Reviews 43

          Average Rating 5.0

          5

          100% enrolled

          A distinctive feature of Jung Su-won's lectures: Understanding through debugging greatly aids in comprehending the operating principles of technology. While the extensive volume of lectures means it takes a long time, you can gain a lot.

          • nower님의 프로필 이미지
            nower

            Reviews 22

            Average Rating 4.5

            Edited

            5

            96% enrolled

            It feels like an unquenched thirst has been satisfied. It easily and clearly explains a large amount of deep reference material on Spring MVC.

            $93.50

            leaven's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!