The Complete Guide to Spring 5 and Spring Boot 2

The Complete Guide to Spring 5 and Spring Boot 2

This Spring Boot guide covers the basics and advanced topics, such as dependency injection, Spring Boot, REST services, MVC, AOP, and unit testing.

Beginner

144 Lessons

13h 30min

Certificate of Completion

This Spring Boot guide covers the basics and advanced topics, such as dependency injection, Spring Boot, REST services, MVC, AOP, and unit testing.

AI-POWERED

Mock Interview
Explanations
Adaptive Learning

AI-POWERED

Mock Interview
Explanations

This course includes

111 Playgrounds
13 Quizzes

This course includes

111 Playgrounds
13 Quizzes

Course Overview

Expertise in the Spring framework is highly sought after and will help open up a lot of job opportunities for you. Here you will get familiar with Spring 5 and Spring Boot 2 to add dependency injection into your applications. You will start with the basics of Spring like dependency injection, auto-wiring, and constructor injection. After the basics are out of the way you’ll move onto Spring Boot, Spring MVC, Spring JDBC, and Spring Data JPA. Lastly, you’ll delve into Spring’s support for AOP, unit testing...Show More

TAKEAWAY SKILLS

Java

Back End Development

Spring

Spring Boot

What You'll Learn

Understand the basic concepts of the Spring Framework

Learn how to use Spring Boot to kickstart the development process

Interact with databases using Spring's support for JDBC and JPA

Learn the Spring MVC architecture

Use AOP for implementing cross-cutting concerns in Spring

Implement unit testing in the Spring framework

What You'll Learn

Understand the basic concepts of the Spring Framework

Show more

Course Content

1.

Introduction

The chapter introduces Spring, a Java framework for dependency injection, covering its history, architecture, and factors of sustained popularity.
2.

Spring Basics

The chapter explores key principles of Spring development, focusing on project setup, dependency management, and effective use of annotations for bean management.
3.

Spring In-depth

The chapter explores bean scope, lifecycle management, dependency injection, and configuration methods in Spring, emphasizing best practices for robust application development.
4.

Spring Boot

The chapter explains how Spring Boot simplifies development with features like auto-configuration, REST service creation, developer tools, and monitoring.
5.

Spring JDBC

The chapter focuses on Spring JDBC, highlighting simplified database interactions through JdbcTemplate and methods for executing various SQL operations like SELECT, INSERT, UPDATE, and DELETE.
6.

Spring Data JPA

9 Lessons

The chapter focuses on utilizing Spring Data JPA for efficient database interactions, covering JPA concepts, entity management, repositories, CRUD operations, and integration with various databases.
7.

Spring REST Fundamentals

8 Lessons

The chapter explores developing RESTful services using Spring, JSON data binding, testing with Postman, and implementing robust API designs.
8.

Spring REST Advanced Operations and Error Management

9 Lessons

The chapter delves into advanced REST operations in Spring, including endpoint creation, error handling, and automated repository management.
9.

Database Relationships in Spring

9 Lessons

The chapter explores various database relationships in Spring, including one-to-one, one-to-many, and many-to-many, highlighting implementation techniques and integrity management.
10.

Spring Aspect Orientated Programming (AOP)

10 Lessons

The chapter explains AOP, covering techniques to intercept method calls and perform tasks later, e.g., defining aspects and storing pointcut expressions, etc.
11.

Configuring a Basic Enterprise Web Application

8 Lessons

The chapter outlines the essential steps for configuring a basic enterprise web application using Spring Boot and JSP, emphasizing servlet creation and request handling.
12.

Spring MVC Fundamentals

12 Lessons

The chapter introduces MVC architecture, discussing its components and configuration. It explains how to create classes and views and access or bind form data.
13.

Spring MVC Advanced Concepts

12 Lessons

The chapter covers advanced concepts in Spring MVC, focusing on form handling, validation techniques, custom annotations, and Servlet configuration.
14.

Unit Testing in Spring

13 Lessons

The chapter explains unit testing, covering essential practices and tools like JUnit and Mockito and the importance of separating test and production code.
15.

Interview Questions

11 Lessons

The chapter lists common interview questions on Spring 5 and Spring Boot 2 fundamentals, dependency injection, annotations, configuration, data access, AOP, and
16.

Epilogue

1 Lesson

The chapter provides a quick rundown of the complete course and acknowledges contributors.

Course Author

Show License and Attributions

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Souvik Kundu

Front-end Developer

Eric Downs

Musician/Entrepeneur

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor