Video description
Do you want to get well-versed with the Spring framework and become a modern Spring developer? This course is designed to help you learn the Spring framework in 10 easy steps!
The course starts with the basics of the Spring framework, enabling you to understand dependency injection, IOC container, application context, and BeanFactory. Next, you will use Spring annotations to configure dependencies through Java programs and delve into the concepts of Spring MVC. Moving ahead, you will learn the basics of Spring Boot, Eclipse, Spring AOP, Spring JDBC and JPA, Maven, JUnit, and Mockito. Later, you will understand the development process of a web application using JSP servlets and Spring MVC. Finally, you will focus on how to execute unit testing cases with JUnit and Mockito using XML and Java Spring application contexts.
By the end of this course, you will have learned Spring framework concepts and have developed the skills you need to use them confidently in Java projects.
What you will learn
- Understand the ecosystem of the Spring framework
- Use Spring Initializer to create a Spring Boot application
- Distinguish between Spring Boot, Spring, and Spring MVC
- Set up a project with JDBC, JPA, H2, and web dependencies
- Create and import a Maven project
- Perform unit testing with the Spring framework
Audience
Whether you want to learn the basics of the Spring framework with practical examples, develop testable applications with Spring, or understand basic Spring modules such as AOP and JDBC, you’ll find this course useful. A basic understanding of Java is necessary to get started with this course.
About the Author
In28Minutes Official: Ranga Karanam is an architect who has 15 years of experience in Java programming and design with major banking clients across the world. He started In28Minutes with the aim of creating hands-on courses with real-world projects. The step-by-step series of courses is one of his creations. They use a problem-solution-based approach with practical and real-world application examples. While their primary expertise is in development, design, and the architecture of Java and related frameworks (Spring, Spring Boot, Spring MVC, Struts, and Hibernate), they are expanding into the front-end world (Bootstrap, JQuery, and Angular JS). They love open source and therefore, all their code is open source too, available on GitHub. They use the 80-20 Rule, touching upon other things to briefly equip you with enough knowledge to find out more on your own.
Table of contents
- Chapter 1 : Quick Introduction to the Spring Framework
- Chapter 2 : Spring Master Class - Level 1 to Level 6 - Course Overview, GitHub More...
-
Chapter 3 : Spring Level 1 - Introduction to the Spring Framework in 10 Steps
- Section Introduction - Spring Framework in 10 Steps
- Step 1 – Setting Up a Project Using https://start.spring.io
- Step 2 – Understanding Tight Coupling Using the Binary Search Algorithm Example
- Step 3 - Making the Binary Search Algorithm Example Loosely Coupled
- Step 4 - Using the Spring Framework to Manage Dependencies - @Component and @Autowired
- Step 5 - What is Happening in the Background?
- Step 6 - Dynamic Autowiring and Troubleshooting - @Primary
- Step 7 - Constructor and Setter Injection
- Step 8 - Spring Modules
- Step 9 - Spring Projects
- Step 10 - Why is Spring Popular?
-
Chapter 4 : Spring Level 2 - Spring Framework in Depth
- Section Introduction - Spring Framework in Depth
- Step 11 - Dependency Injection - A Few More Examples
- Step 12 - Autowiring in Depth - By Name and @Primary
- Step 13 - Autowiring in Depth - @Qualifier Annotation
- Step 14 - Scope of a Bean - Prototype and Singleton
- Step 15 - Complex Scope Scenarios of a Spring Bean - Mix Prototype and Singleton
- Step 15B - Difference Between the Spring Singleton and GOF Singleton
- Step 16 - Using the Component Scan to Scan for Beans
- Step 17 - Lifecycle of a Bean - @PostConstruct and @PreDestroy
- Step 18 - Container and Dependency Injection (CDI) - @Named and @Inject
- Step 19 - Removing Spring Boot in the Basic Application
- Step 20 - Fixing Minor Stuff - Add Logback and Close ApplicationContext
- Step 21 - Defining the Spring ApplicationContext Using XML - Part 1
- Step 22 - Defining Spring ApplicationContext using XML - Part 2
- Step 23 - Mixing the XML Context with a Component Scan for Beans Defined with Annotation
- Step 24 - IOC Container vs ApplicationContext vs BeanFactory
- Step 25 - @Component vs @Service vs @Repository vs @Controller
- Step 26 - Reading Values From the External Properties File
- Chapter 5 : Basic Tools and Frameworks - JUnit in 5 Steps
- Chapter 6 : Basic Tools and Frameworks - Mockito in 5 Steps
- Chapter 7 : Spring Level 3 - Unit Testing with the Spring Framework
-
Chapter 8 : Spring Level 4 - Spring Boot in 12 Steps
- Step 01 - Getting Started with Spring Boot - Goals
- Step 02 - Understanding the World Before Spring Boot - 10000 Feet Overview
- Step 03 - Setting up New Spring Boot Project with Spring Initializr
- Step 04 - Build a Hello World API with Spring Boot
- Step 05 - Understanding the Goal of Spring Boot
- Step 06 - Understanding Spring Boot Magic - Spring Boot Starter Projects
- Step 07 - Understanding Spring Boot Magic - Auto Configuration
- Step 08 - Build Faster with Spring Boot DevTools
- Step 09 - Get Production Ready with Spring Boot - 1 - Profiles
- Step 10 - Get Production Ready with Spring Boot - 2 - ConfigurationProperties
- Step 11 - Get Production Ready with Spring Boot - 3 - Embedded Servers
- Step 12 - Get Production Ready with Spring Boot - 4 - Actuator
- Step 13 - Understanding Spring Boot vs Spring vs Spring MVC
- Step 14 - Getting Started with Spring Boot - Review
-
Chapter 9 : Spring Level 5 - Spring AOP
- Section Introduction - Spring AOP
- Step 01 - Setting Up AOP Example - Part 1
- Step 02 - Setting Up AOP Example - Part 2
- Step 03 - Defining an @Before Advice
- Step 04 – Understanding the AOP Terminology - Pointcut, Advice, Aspect, and JoinPoint
- Step 05 - Using the @After, @AfterReturning, @AfterThrowing Advices
- Step 06 – Using the @Around Advice to Implement Performance Tracing
- Step 07 - Best Practice – Using Common Pointcut Configuration
- Step 08 - Quick Summary of Other Pointcuts
- Step 09 - Creating Custom Annotation and an Aspect for Tracking Time
-
Chapter 10 : Spring Level 6 - Interacting with Databases - Spring JDBC, JPA, and Spring Data
- Section Introduction - Spring JDBC, JPA, and Spring Data
- Step 01 - Setting Up a Project with JDBC, JPA, H2, and the Web Dependencies
- Step 02 - Launching an H2 Console
- Step 03 - Creating a Database Table in H2
- Step 04 - Populating Data into a Person Table
- Step 05 – Implementing the findAll persons Spring JDBC Query Method
- Step 06 - Executing the findAll Method Using CommandLineRunner
- Step 07 - A Quick Review - JDBC vs Spring JDBC
- Step 08 – What is in the Background? - Understanding Spring Boot Autoconfiguration
- Step 09 – Implementing the findById Spring JDBC Query Method
- Step 10 - Implementing the deleteById Spring JDBC Update Method
- Step 11 - Implementing Insert and Update for the Spring JDBC Update Methods
- Step 12 - Creating a Custom Spring JDBC RowMapper
- Step 13 - Quick Introduction to JPA
- Step 14 - Defining the Person Entity
- Step 15 - Implementing the findById JPA Repository Method
- Step 16 - Implementing Insert and Update Using the JPA Repository Methods
- Step 17 - Implementing the deleteById JPA Repository Method
- Step 18 - Implementing the findAll Using a JPQL Named Query
- Step 19 - Introduction to the Spring Data JPA
- Step 20 - Connecting to Other Databases
-
Chapter 11 : Quick Preview – Web Applications with Spring MVC
- Section Introduction - Basic Web Application
- Step 01 – Setting Up Your First Java Web Application
- Step 01 – Theory 1 - Maven and Magic
- Step 01 – Theory 2 - What is a Servlet?
- Step 01 – Theory 3 - Web Application Request Flow
- Step 01 – Theory 4 - Understanding Your First Servlet - LoginServlet
- Step 02 – Creating LoginServlet From Scratch Again and Your First View
- Step 02 – Theory - Play Time - Trying to Break the Code
- Step 03 – Passing the Request Parameters Using the Get Method
- Step 03 – Theory - Introduction and End to Scriptlets
- Step 04 – Disadvantages of the Get Parameters
- Step 05 – Your First POST Request
- Step 06 – Your First Servlet doPost Method
- Step 07 – Adding a Password Field
- Step 10 – Setting Up Maven, Tomcat, and a Simple JEE Application
- Step 11 – Setting Up Spring MVC with 4 Mini Steps
- Step 12 – Your First Spring MVC Controller
- Step 13 – Part 1 - Your First Spring MVC View – ViewResolver
- Step 13 – Part 2 - Theory Break - Spring MVC Architecture
- Step 13 – Part 3 - Play Break – Trying to Break Things
- Step 14 – Adding the Logging Framework Log4j
- Step 15 – Redirecting to the Welcome Page – ModelMap and @RequestParam
- Step 16 – Using LoginService to Authenticate
- Step 17 – Spring Autowiring and Dependency Injection
- Chapter 12 : Basic Tools and Framework - Eclipse in 5 steps
-
Chapter 13 : Basic Tools and Framework - Maven in 13 Steps
- Step 01 - Introduction to Maven
- Step 02 - Creating a Spring Boot Project with Maven
- Step 03 - Exploring Maven pom.xml for Spring Boot Project
- Step 04 - Exploring Maven Parent Pom for Spring Boot Project
- Step 05 - Exploring Maven Further
- Step 06 - Exploring Maven Build Lifecycle with a Spring Boot Project
- Step 07 - How does Maven Work?
- Step 08 - Playing with Maven Commands
- Step 09 - How are Spring Projects Versioned?
- Chapter 14 : Basic Tools and Framework - Gradle in 5 Steps
- Chapter 15 : Congratulations
Product information
- Title: Spring Framework Master Class: Java Spring - The Modern Way
- Author(s):
- Release date: April 2024
- Publisher(s): Packt Publishing
- ISBN: 9781788994576
You might also like
book
Spring Start Here
Quickly master the massive Spring ecosystem with this focused, hands-on guide that teaches you exactly what …
book
Spring Microservices in Action, Second Edition
By dividing large applications into separate self-contained units, Microservices are a great step toward reducing complexity …
video
The Complete Java Developer Course: From Beginner to Master
Be it websites, mobile apps, or desktop software, Java remains one of the most popular programming …
book
Modern Java in Action
Manning's bestselling Java 8 book has been revised for Java 9 and 10! In Modern Java …