Real-world! Spring Boot and JPA Utilization 1 - Web Application Development
With a practical example, we will design and develop a web application using Spring Boot and JPA. Through this process, you will understand how to use Spring Boot and JPA in practice.
You can develop Java web applications in practice using Spring Boot and JPA.
Understand the best way to leverage Spring Boot and JPA.
You can understand and design domain models.
Understand domain-driven design.
Want to use Spring Boot effectively in practice? Experience in-depth design and development.
🚩 This course is a roadmap course.
This lecture is the first in a practical course in Java backend development. Please first check out the roadmap for mastering Spring Boot and JPA(link) .
Real-World Applications! Using Spring Boot and JPA
Spring Boot simplifies and eases the complex and complex Spring Framework. Adding the powerful ORM technology provided by JPA to this, it enables agile web application development while maintaining high productivity. For these reasons , leveraging Spring Boot and JPA for web application development is a global trend in the Java community.
Course Objectives
Even if you're familiar with Spring Boot and JPA, designing and developing web applications using these technologies in practice is a completely different matter. Typically, web applications go through the following development process.
General web application development process
Requirements Analysis
Domain and table design
Architecture composition
Develop core business logic
Web tier development
test
Performance optimization
This course goes beyond simple examples like bulletin boards and uses challenging examples that replicate complex real-world scenarios. It covers the entire process, from requirements analysis to design, development, testing, and performance optimization. By designing and developing a web application from start to finish using these practical examples , you'll naturally learn the correct way to leverage Spring Boot and JPA. You'll also understand how to apply these technologies in practice. In particular, you'll learn and apply performance optimization techniques, which are crucial for practical use, step by step.
The entire course consists of two parts: Part 1, which covers designing and developing web applications, and Part 2, which covers developing APIs and optimizing performance. This lecture is the first of these two parts.
👨💻 Please note before taking the class!
Part 2 API development and performance optimization is a separate lecture , and a link is provided in [Related Lectures] below.
Learning process
Part 1 - Web Application Development
Complex , practical examples, coded from start to finish!
Part 1 designs and develops a simple web application with member, product, and order domains. The order of progression is as follows:
Project Configuration: Create a project and configure the project environment so that Spring Boot, JPA, Thymeleaf view templates, Lombok, and the database work properly.
Domain Analysis and Design: Analyze requirements and design the domain and tables. Once the domain and table design is complete, create entity classes using JPA and map them to tables.
Domain Development: Develop core business logic for the Member, Product, and Order domains, and create test cases to verify them.
Web Layer Development: Develop controllers and view templates (Thymeleaf) to enable the configured domain to operate in a web environment. You can check the actual screen in action.
Part 2- API Development and Performance Optimization
These days, rather than using view templates to directly generate HTML on the server and respond, many developers are loading JSON data into APIs and returning it. The goal of this article is to understand the considerations and proper design guidelines for developing APIs using Spring Boot and JPA, and to complete the API with performance in mind.
Part 2 builds on the domain created in Part 1 to develop an externally usable REST API. We then step-by-step optimize the performance of the query API. This process provides a thorough understanding of JPA query tuning, a crucial practice.
API Development Basics: Develop a basic REST API for registration, modification, and query.
Advanced API Development: We'll explain the key considerations and design guidelines for developing query APIs using JPA in practice. We'll address JPA lazy loading issues and explain various performance optimizations step-by-step.
Essential Optimizations for Practice: Covers practical issues that can lead to problems in practice if not handled carefully when using Spring Boot and JPA.
How to learn
This course is largely hands-on . Therefore, you'll get the most out of it by following the lecture from beginning to end, coding on your own .
Please note that this course does not cover Spring Boot or JPA in detail. The goal is to help those familiar with these technologies leverage them to their full potential, enabling them to develop effective web applications in the real world . Therefore, we recommend that you have a basic understanding of Spring and JPA before taking this course. However, even if you're not yet familiar with Spring or JPA, following along will give you a comprehensive understanding of how to develop and complete web applications in Java. You can also fill in any gaps in your foundational skills later on.
The book is for those who want to study more in-depth content. You can think of it as a reference book. (Even if you don't have a book, separate materials for the lecture will be provided.)
Recommended for these people
Who is this course right for?
For those who use Spring Boot and JPA in their work but want to get better use out of the technology
I have heard of technologies like Spring Boot or JPA, but I want to know how to best utilize them.
If you don't know much about Spring Boot and JPA, but want to get a feel for Java web application development by following examples from project setup to actual web application development.
Sau những điều cơ bản, tôi đã hoàn thành phần đăng ký 1.
"Lỗi phương ngữ Seoul!x" Tôi nghĩ nội dung bài giảng rất nhiều thông tin, cũng như kỷ niệm bật cười khi mọi thứ không thẳng hàng trong khi sao chép và dán lệnh bằng cách nhấn phím lệnh hai lần. Bây giờ, tôi nghĩ rằng tôi cần học bí quyết để tối ưu hóa hiệu suất tối đa trong bài giảng tiếp theo!
Hẹn gặp lại bạn ở bài đánh giá tiếp theo Haha!
Một bài giảng mà bạn có thể hiểu được mọi lúc nhờ những lời giải thích bổ sung xuất hiện mỗi khi bạn nghĩ về những gì đang được giải thích.
Nó giống như TMI, nhưng là một bài giảng chi tiết, trong đó mọi thứ đều được báo trước.
Một bài giảng khiến bạn luôn mong chờ bài giảng tiếp theo mỗi khi nghe giải thích.
Một bài giảng khiến bạn muốn xem nó thay vì nghĩ đến việc chơi đùa sau giờ làm việc.
Lúc đầu khi quảng cáo sách tôi nói haha, nhưng những bài giảng khiến tôi càng tò mò về nội dung sách.
Bài giảng nơi bạn có thể kế thừa Younghan(?)
Một bài giảng huyền thoại được cho là đã giúp cơ sở hạ tầng nhanh hơn sau khi bài giảng này được tải lên.
Đó là một bài giảng hấp dẫn. Tôi sẽ bỏ qua bài giảng tiếp theo
Đây là lần đầu tiên tôi thấy một bài giảng thú vị.
Xin hãy giảng thêm cho tôi... nhanh lên ㅠㅠ
Đẹp! Hóa ra mọi chuyện là điềm báo trước haha. Khi chuẩn bị bài giảng, thực ra bạn khá chi tiết? Cấu hình. cười
Tôi cũng sẽ chuẩn bị chăm chỉ cho các bài giảng khác. Cảm ơn. 2010psw ^^
Nó trở thành "Tôi có thể phát triển với Spring Boot + JPA."
Tập trung vào thực hành thực tế, như thể đến từ một địa phương? Thật tuyệt vì tôi có cảm giác như có một người anh trai đang ở ngay bên cạnh tôi để phát triển nó và dạy tôi.
"Trăm chữ đáng giá ngàn chữ!"
Cảm ơn bạn unialto.
Tôi đã cố gắng vá ngôn ngữ Seoul nhiều lần nhưng không thành công và bị khôi phục. cười
Nếu bạn có bất kỳ câu hỏi nào, xin vui lòng hỏi bất cứ lúc nào ^^
Sau khi hoàn thành học viện Spring Framework Mybatis 6 tháng do chính phủ tài trợ
Tôi đã gia nhập một công ty sử dụng Spring FrameBoot JPA.
Lúc đầu, tôi tìm kiếm CRUD trên Google và nghiên cứu nó bằng cách gọt vỏ dưa hấu.
Có vẻ như tôi đã rất lạc lõng và gặp khó khăn.
Vì vậy, nếu tôi biết bài giảng này trước
Tôi nghĩ nó hẳn phải rất tốt.
Tôi nghĩ đây là bài giảng hay nhất tôi từng xem dành cho những người mới làm quen với JPA.
1. Nội dung mang tính thông tin
2. Giải thích chi tiết.
Tôi dự định xem bài giảng này hai lần nữa và khi đã hiểu được nguồn, tôi dự định mua sách và tìm hiểu những điều cơ bản.
Cảm ơn bạn đã đăng bài giảng hay
Lập trình viên Kang, cảm ơn bạn đã khen ngợi ^^
Bạn là một người thực sự đam mê.
Cảm ơn bạn đã giải thích các câu hỏi và câu trả lời một cách dễ hiểu để giúp đỡ người khác.
Nếu bạn có thắc mắc gì, xin vui lòng hỏi bất cứ lúc nào ^^!
Tôi nghĩ đây là một khóa học tốt để tìm hiểu các khái niệm khác nhau mà cấu trúc phụ trợ tốt yêu cầu trong khi thực sự tạo ra một dịch vụ :)
Tôi giới thiệu điều này cho những ai đang do dự về cách bắt đầu một dự án sau khi học Spring và JPA :)