강의

멘토링

커뮤니티

BEST
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) 10 reviews

213 learners

Level Basic

Course period Unlimited

  • leaven
MVC
MVC
Spring Boot
Spring Boot
Java
Java
Spring
Spring
Thymeleaf
Thymeleaf
MVC
MVC
Spring Boot
Spring Boot
Java
Java
Spring
Spring
Thymeleaf
Thymeleaf

Reviews from Early Learners

Reviews from Early Learners

5.0

5.0

rainingdaewoo

21% enrolled

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

5.0

잉여인간

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.

5.0

eodilda

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.

What you will gain after the course

  • 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

10,229

Learners

362

Reviews

1,212

Answers

4.9

Rating

5

Courses

I have been working on web, mobile, and solution product development across various projects, taking on roles in analysis, design, and development.

I have been involved in web development and solution programming for public institutions, educational programs, corporate projects, and shopping malls. My experience includes architectural design and structural enhancement for frameworks and open-source integration, serving in roles such as Developer and PL (Project Leader).

Through various open-source projects and technical experiences, I have mastered the overall technological trends of the web. As my development experience grows, I go beyond simply implementing functional requirements; I responsibly handle research and practical development to continuously complete superior software by incorporating architecting and tuning techniques that consider stability and performance as OOP-structured software.

I have been responsibly leading research and development practices to consistently deliver superior software by integrating various architectural and tuning techniques.

Curriculum

All

119 lectures ∙ (41hr 5min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

10 reviews

5.0

10 reviews

  • sangjinryu8174님의 프로필 이미지
    sangjinryu8174

    Reviews 6

    Average Rating 4.2

    5

    30% enrolled

    • abcd123123님의 프로필 이미지
      abcd123123

      Reviews 327

      Average Rating 5.0

      5

      5% enrolled

      • 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 45

          Average Rating 5.0

          5

          8% enrolled

          • newbeginner님의 프로필 이미지
            newbeginner

            Reviews 36

            Average Rating 4.8

            5

            100% enrolled

            Limited time deal ends in 1 days

            $70.40

            24%

            $93.50

            leaven's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!