In this course,
We will learn the basics of the Spring Framework 6.0.
Spring makes programming Java quicker, easier, and safer for everybody. Spring’s focus on speed, simplicity, and productivity has made it the world's most popular Java framework.
We will learn how to use XML based configuration to create our beans. We will learn how to use Java based configuration to create our beans. And finally, we will learn annotation based configuration to create our beans.
We will learn about bean scopes, (Singleton, Prototype, Request, Session, Global Session)
We will learn about the Spring bean lifecycle, () with code examples.
We will look at the differences between spring 5 and Spring 6 like:
The Java base version to use Spring 6.0 is Java 17+.
Text Blocks: With JEP 378, it's now possible to create multi-line text blocks without the need to concatenate strings on line breaks.
Switch Expressions: Java 12 introduced switch expressions (JEP 361), which (like all expressions) evaluate a single value, and can be used in statements., Kotlin 1.7, Gradle 7.3
Further dependencies: Lombok 1.18.22+
Spring Boot provides auto-configuration
We will create a Spring application
We will create a Spring Web application
We will explore Spring Boot 3.0 and create a Spring Boot application.