Spring MVC Part 2 - Backend Web Development Utilization Technology
You can understand and master all the web technologies required for web application development from the basics. In Part 2 of MVC, you can learn all the utilization technologies required for practical web development on top of the core principles and structure of Part 1 of MVC.
If you know the principle, you will see the core! Kim Young-han's Spring MVC Utilization 👨💻
📌 Please check before taking the class!
This lecture is the fifth lecture in the Java Spring Complete Conquest series. Please check the Spring Complete Conquest roadmap by Younghan Kim, the youngest technical director of Woowa Brothers. (Go to)
The most popular web frameworks
Most modern applications are web applications that operate in a web environment. Java backend developers mostly use Spring MVC when developing these web applications. Spring MVC is the most popular web framework that helps you develop complex web applications easily and quickly.
Why Backend Web Technologies Are Hard to Learn
Java Backend Web technology is very vast and there is a lot to study. In particular, Spring MVC provides many functions and has a complex structure. In order to properly learn these web technologies, you must first understand the core principles and structure of Spring MVC, and then conquer the vast web utilization technologies one by one on top of that.
✅ Please check the player's knowledge.
Please check whether you understood the core principles and structure of Spring MVC required for web development through the previous lecture , <Spring MVC Part 1> .
1. From the beginning of Java web technology to the latest practical technology 2. Develop the MVC framework directly in code
Course Objectives
So far, we have learned Java backend and Spring MVC-based technologies. In this lecture, we will learn the technologies that are essential for practical use based on what we have learned so far.
In the lecture <Spring MVC Part 2>,
In Part 2 of Spring MVC, you can completely conquer a vast range of web utilization technologies such as view templates , messages , internationalization , validation , cookies , sessions , filters , interceptors , exception handling , type converters , and file uploads , which are essential for practical use, through examples, based on the Spring MVC learned in Part 1.
We will help you grow into a more in-depth backend web developer by completing a wide range of web utilization technologies through practical example codes on top of Spring MVC and its core principles and structures.
Objective : The goal of this course is to master all the web technologies required to develop practical backend web applications.
From Web Basics to Practice : There is a lot of content for practical development, but it is organized in stages so that even developers without web application development experience can adapt. (You should listen to Spring MVC Part 1 first and then learn Part 2.)
From concept to application : Rather than simply explaining how to use the technology, we explain the core principles and application methods of why this technology is needed and how it came to be.
Focused on practical examples : You will learn all the necessary steps for developing web applications with Spring in a natural way through examples, and we will teach you practical best practices.
Conciseness : We boldly excluded old Spring MVC features that are not used in practice. We explain mainly the contents that are mainly used in modern practice.
Recommended Learners
Spring MVC First time developer
Backend Developer Job seeker
Spring MVC in depth Developers in the field who want to understand
Web App with Spring Developers who want to create
Coverage
Timeleaf
Thymeleaf is a server-side view template for backend developers. With Thymeleaf, you can create dynamic HTML quickly and easily with only backend developers, without a separate frontend developer.
In this course, you will learn everything from the basic functions of Thymeleaf, to integration with Spring, and complex form management functions such as check boxes, radio buttons, and select boxes, through examples.
Messages, Internationalization
As web applications become larger and more complex, it becomes necessary to manage the various messages used in a consistent manner in one place. For example, if you want to change the word “product name” to “product name,” you have to modify the source code of many files. Using the message function provided by Spring, you can manage and modify these things at once.
Internationalization is the function of displaying a site in English for English speakers and in Korean for Korean speakers. Spring already provides this internationalization function. In this lecture, we will learn about the messages and internationalization functions provided by Spring step by step through real examples.
Validation
If a customer enters incorrect values in an input form when signing up for membership and sends them to the server, the server must verify the values and show the customer the input form again, kindly informing them of what was entered incorrectly. This is a necessary feature for all web services.
In this lecture, we will first develop these validation functions ourselves. Then, we will use the validation functions provided by Spring, and further, we will learn step-by-step through examples up to the Bean Validation function, which performs validation functions very conveniently with a single annotation.
Cookies, Sessions
HTTP is a stateless protocol. Therefore, in order to maintain the login function, concepts such as cookies and sessions are required. In this lecture, we will first create a login function using only cookies. Then, we will check what security issues there are and then create and apply sessions directly.
By going through the process of creating sessions in this way, you can gain a deeper understanding of how cookies and sessions work. In addition, you will learn and apply sessions provided by servlets.
Filter, Interceptor
We will learn about filters provided by servlets and interceptors provided by Spring through examples.
First, let's create a function to log all the simplest HTTP requests using filters and interceptors, and then create a function for authentication processing using filters and interceptors as well. By using them together like this, you can clearly understand the pros and cons of each.
Exception handling
When learning web applications, the most difficult part to understand is exception handling. This is because the servlet container (WAS) and Spring MVC each provide their own exception handling methods. And in reality, these two are mixed and the exception handling mechanism operates in a complex manner. Therefore, it is very difficult for developers to accurately understand and use how Spring and the servlet container each operate internally when an exception occurs in the controller.
In this lecture, we will explain step by step from exception handling in servlet containers to exception handling in Spring MVC. So after listening to the lecture, you will clearly understand how the server works when an actual exception occurs and what points to change. In addition, exception handling when using the API is also explained.
Spring type converter
When developing an application, there are many cases where you need to convert types, such as converting characters to numbers or vice versa. For example, even if the character "10" is passed in an HTTP request, Spring can receive it as the number 10, which is an Integer type, with @RequestParam. Spring provides a feature called type converter to support consistent type conversion.
Type converters are often mentioned when learning Spring, but it is not easy to understand in depth how they actually work. Through this lecture, you can understand the basics of type converters and their use step by step through examples.
File Upload
There are numerous file upload examples on the Internet. In this lecture, we will go beyond simply explaining the file upload function and explain in depth the protocol used for file upload and the principle of file upload in HTTP. And we will learn the file upload function step by step through examples, starting from servlet to convenient file upload method provided by Spring.
Spring MVC Lecture Structure
The Spring MVC lecture is divided into two parts. This lecture is Spring MVC Part 2 - This is a technology that utilizes backend web development .
Cover the core concepts of Java web technology and Spring MVC, and understand the basic features of Spring MVC. Part 1 first introduces Java backend web technology, and learns about web technology in general, including servlets, JSP, MVC patterns, and MVC frameworks. After understanding the background of web technology, we will solidify the core concepts of Spring MVC. After that, we will learn the basic functions of Spring MVC, and develop a web page that can perform basic CRUD using Spring MVC.
Learn various techniques for utilizing Spring MVC. Part 2 gradually develops an example, learning various Spring MVC utilization techniques through code, including Thymeleaf, messaging, internationalization, validation, cookies, sessions, filters, interceptors, exception handling, and common features and extension points.
To be continued in the future Spring Complete Conquest Series
We are preparing a series that will allow you to completely master Spring. We will teach you practical know-how, focusing on core Spring functions used in actual practice, boldly omitting functions that are not used in practice or are outdated.
Cuối cùng tôi đã hoàn thành khóa học. Tôi nghĩ lần đầu tiên tôi bắt đầu khóa học này là vào đầu tháng 11 năm ngoái. Lúc đó tôi có nghe nói đến việc quốc tế hóa thông điệp nhưng nó không gây ấn tượng tốt với tôi và không thể hiểu được nên tôi đã bỏ cuộc. Và tôi lang thang khắp YouTube, thử nhiều thứ có vẻ thú vị, nghiên cứu những kiến thức cơ bản về Java (tôi cần làm nhiều hơn) và SQL (tôi cần làm nhiều hơn) và đi loanh quanh theo vòng tròn. Và kể từ tháng trước, tôi đã xem lại nó với tốc độ đều đặn từ phần giới thiệu đến mùa xuân cho đến đầu bộ truyện cho đến tận bây giờ. Điều đáng ngạc nhiên là tôi có thể hiểu rõ nội dung lớp học mà không gặp bất kỳ khó khăn nào. Tuy nhiên, dù hiểu rất rõ nhưng tôi không biết có nên coi là lạ không khi tôi không có nhiều câu hỏi hơn nội dung buổi học. Có rất nhiều câu hỏi phái sinh được đặt ra, nhưng vì tôi không phải là một trong số đó nên có vẻ như vẫn còn một chặng đường dài phía trước. Dù sao thì tôi cũng rất hài lòng vì chỉ cần theo dõi và hiểu rõ nội dung lớp học.
Khi lần đầu tiên nhìn thấy bài giảng của Younghan mà trước đó tôi chưa biết gì, tôi đã nghĩ, tại sao anh ấy lại dạy như thế này? Những gì tôi làm bây giờ đã quen thuộc và dễ hiểu, đồng thời tôi nhận ra rõ ràng rằng đó thực sự là một phong cách tốt hơn. Điều tương tự cũng xảy ra với MVC phần 2 này. Giờ đây, những cuốn sách về những con suối từng trông đáng sợ trong các hiệu sách giờ đây có thể trông thân thiện. Ai cũng biết môn học này là để củng cố nền tảng và cội rễ, nhưng tôi cũng xấu hổ và tự hào vì mình, với tư cách là một học viên, đang tham gia vào cuộc hành trình của một kiệt tác xứng đáng với danh hiệu chinh phục trọn vẹn. Tôi mất một lúc để lấy lại hơi thở và tự hỏi khi nào tôi sẽ xem và theo dõi tất cả những điều này trong quá khứ, nhưng trước khi tôi kịp nhận ra thì chỉ còn lại một bài giảng gần đây. Tôi định theo dõi bài giảng cuối cùng còn lại khi rảnh rỗi và sau đó bắt đầu lại từ đầu, điều này rất thiết thực. Khi viết bài này, tôi viết về hành trình mà tôi đã trải qua thay vì ôn lại lớp học. Chúc các bạn cùng học may mắn!
Chỉ cần đọc lộ trình của Kang thôi là tim tôi đã tràn ngập niềm vui rồi…
Một bài giảng dạy cho bạn chính xác những gì bạn muốn học
Một bài giảng cho phép bạn tự đọc tài liệu tham khảo
Ngay cả một bài giảng vui vẻ
Mọi người đang làm gì mà không nghe máy vậy?!
Đừng lo lắng, chỉ cần trả tiền
Thời gian khó mua được bằng tiền!
Nhưng bài giảng của Younghan Kim đã làm được điều đó!
Thực ra, tôi nghĩ giá trị của bài giảng của tôi là mua được thời gian. Tôi sẽ sắp xếp và truyền tải các giá trị cốt lõi mà tôi tin là quan trọng mà tôi đã phát triển trong quá trình thực hành của mình cho đến nay và tôi hy vọng rằng bạn sẽ nhanh chóng học được chúng và trở thành nhà phát triển cấp độ tiếp theo.
Cảm ơn bạn hanul_kr.
Tôi chưa kịp thở thì bài giảng đã đến và tôi đọc xong ngay.
Trước khi MVC 2 ra mắt
Trưởng nhóm, trước tiên tôi phải củng cố lộ trình của JPA và đang làm việc trên Spring Data JPA.
Tôi đã sử dụng mybatis và học JPA, vì vậy tôi đã nghĩ, ôi, Shinsegae.
Trùng hợp là bài giảng MVC 2 ra nên mình chỉ xem phần đầu một lát, xong lộ trình JPA, phải nghe lại bài giảng Mv 2, nhưng Time Leap vui quá nên mình nghe mãi haha.
Tôi háo hức chờ đợi bài giảng sắp tới đến mức muốn bắt cóc trưởng nhóm, trói anh ta dưới tầng hầm và bắt anh ta chỉ quay phim bài giảng.
Hahaha, Dokkabei97, cảm ơn bạn rất nhiều vì đã sửa lỗi đánh máy và để lại nhận xét! Nhìn vào các đánh giá khóa học, tôi nghĩ mình cần phải nỗ lực hơn nữa haha.
Tôi cũng ủng hộ bạn. làm đi!
Tôi phải mất một thời gian để hoàn thành khóa học do bận rộn với công việc nhưng nội dung trong bài giảng này rất hữu ích.
Bạn luôn nỗ lực để tạo ra những bài giảng hay, Younghan😘
Ôi trời, bạn đang bận rộn với các hoạt động hỗ trợ của mình, nhưng cảm ơn bạn đã để lại nhận xét cho lớp học. Tôi luôn ủng hộ bạn. Và hãy tiếp tục chăm sóc tôi nhé ^^!
Tôi giới thiệu khóa học này cho tất cả các nhà phát triển biết và sử dụng Spring như một 'ma thuật';
Đây là bài giảng giải thích rõ ràng rằng mùa xuân là một 'khoa học';