Spring Boot Tutorials | Full Course
Technology

Spring Boot Tutorials | Full Course

2:48:08
June 07, 2019
Telusko
Added by Ajeet Singh Kushwaha

What You'll Learn

  • Build Spring Boot applications with Spring Data JPA and RESTful APIs.
  • Implement CRUD operations and manage data persistence using H2 database.
  • Configure and test REST APIs using Postman and handle data in JSON and XML formats.
Video Breakdown
This video provides a comprehensive tutorial on Spring Boot, covering topics from dependency injection and setting up a Spring Boot project to building RESTful web services with Spring Data JPA and Spring Data REST. It demonstrates how to connect to an H2 database, perform CRUD operations, handle data in various formats (JSON, XML), and simplify REST API development. The tutorial emphasizes practical application, showing how to build a web application, manage data persistence, and test APIs using tools like Postman.
Key Topics
Spring Boot Setup Dependency Injection Spring Data JPA Restful Services H2 Database Integration Spring MVC
Video Index
Introduction to Spring Boot and Dependency Injection
This module introduces Spring Boot and dependency injection, covering the benefits of loose coupling...
This module introduces Spring Boot and dependency injection, covering the benefits of loose coupling and setting up a basic Spring Boot project using STS and Eclipse.
Spring Boot and Dependency Injection Fundamentals
0:00
Spring Boot and Dependency Injection Fundamentals
0:00 - 12:02
Introduction to Spring Boot, dependency injection, and loose coupling, contrasting Spring Boot with the Spring Framework.
Spring Boot Dependency Injection Loose Coupling
Setting Up a Spring Boot Project
12:00
Setting Up a Spring Boot Project
12:00 - 24:02
Setting up a Spring Boot project using STS and Eclipse, including IDE selection and basic application creation.
Spring Boot Setup STS IDE Spring Initializer
Spring Container and Bean Management
This module explains dependency injection and Spring containers, focusing on how Spring manages obje...
This module explains dependency injection and Spring containers, focusing on how Spring manages object creation and dependencies using annotations like `@Component` and `@Scope`.
Dependency Injection and Spring Containers
24:00
Dependency Injection and Spring Containers
24:00 - 36:04
Explanation of dependency injection and Spring containers, focusing on object creation and dependency management.
Dependency Injection Spring Container Spring Beans
Building a Spring Boot Web Application
This module covers creating a web application using Spring Boot, including setting up a controller, ...
This module covers creating a web application using Spring Boot, including setting up a controller, mapping requests to JSP pages, and embedding Tomcat.
Dependency Injection and Web Application Setup
36:01
Dependency Injection and Web Application Setup
36:01 - 48:04
Resolving null pointer exceptions using Spring's component and autowire annotations, and setting up a controller and request mappings.
@Component @Autowired Spring Boot Web Application
Embedding Tomcat and Configuring JSP Support
48:02
Embedding Tomcat and Configuring JSP Support
48:02 - 1:00:05
Embedding Tomcat within a Spring Boot project and configuring the application to locate JSP files.
Embedded Tomcat Spring Boot JSP Support
Handling Data in Spring MVC
This module focuses on passing data from the client to the server using Spring MVC, handling multipl...
This module focuses on passing data from the client to the server using Spring MVC, handling multiple parameters, and introducing Model and View.
Passing Data from Client to Server
1:00:04
Passing Data from Client to Server
1:00:04 - 1:12:06
Passing data from the client to the server using Spring MVC, including HttpServletRequest, HttpSession, and @RequestParam.
Httpservletrequest @Requestparam Spring MVC
Model and View and Spring Data JPA
1:12:04
Model and View and Spring Data JPA
1:12:04 - 1:24:08
Handling multiple parameters in Spring MVC using Model and View, and introducing Spring Data JPA.
Model and View Spring MVC Spring Data JPA
Database Integration with H2 and Spring Data JPA
This module covers connecting a Spring Boot application to an H2 database, enabling JPA, and using S...
This module covers connecting a Spring Boot application to an H2 database, enabling JPA, and using Spring Data JPA to simplify database operations, including adding and fetching data.
Connecting to H2 Database and JPA Setup
1:24:05
Connecting to H2 Database and JPA Setup
1:24:05 - 1:36:10
Connecting a Spring Boot application to an H2 database and enabling JPA using Spring Data JPA.
Spring Boot H2 Database JPA
Fetching Data with Spring Data JPA
1:36:07
Fetching Data with Spring Data JPA
1:36:07 - 1:48:11
Fetching data using Spring Data JPA, including the use of repositories and custom queries.
Spring Data JPA Repositories Custom Queries
Creating RESTful Web Services with Spring Data JPA
This module focuses on using Spring Data JPA to create queries and implement RESTful web services, i...
This module focuses on using Spring Data JPA to create queries and implement RESTful web services, including defining custom queries and returning data in JSON format.
Custom Queries and REST API Implementation
1:48:09
Custom Queries and REST API Implementation
1:48:09 - 2:00:12
Using Spring Data JPA to create custom queries and implement RESTful web services.
Spring Data JPA Custom Queries REST API
Fetching Data with Wildcards and JSON Conversion
2:00:09
Fetching Data with Wildcards and JSON Conversion
2:00:09 - 2:12:13
Fetching data using a wildcard in the URL and converting the data to JSON format, introducing Postman for API testing.
Wildcard URL JSON Format Postman API Testing
Content Negotiation and Data Formatting
This module discusses content negotiation, demonstrating how a server can provide data in different ...
This module discusses content negotiation, demonstrating how a server can provide data in different formats (JSON, XML) based on client requests.
Content Negotiation and Data Formats
2:12:11
Content Negotiation and Data Formats
2:12:11 - 2:24:15
Discussing content negotiation and demonstrating how a server can provide data in different formats (JSON, XML).
Content Negotiation XML and JSON Spring Boot REST API
Data Persistence and HTTP Methods
This module focuses on verifying data persistence using Postman and H2 console, implementing DELETE ...
This module focuses on verifying data persistence using Postman and H2 console, implementing DELETE and PUT methods for data manipulation.
Verifying Data Persistence with Postman
2:24:12
Verifying Data Persistence with Postman
2:24:12 - 2:36:16
Verifying data persistence using Postman and H2 console, demonstrating POST requests with JSON, and implementing DELETE and PUT methods.
Postman Verification JSON POST Requests Delete Method PUT Method
Simplifying REST API Development with Spring Data REST
This module introduces Spring Data REST, a method to create RESTful services without needing to writ...
This module introduces Spring Data REST, a method to create RESTful services without needing to write controllers, and demonstrates its implementation.
Implementing Spring Data REST
2:36:14
Implementing Spring Data REST
2:36:14 - 2:48:09
Introducing Spring Data REST and demonstrating its implementation by creating a project to manage alien data.
Spring Data REST Restful Services JPA Repository H2 Database
Questions This Video Answers
What is Spring Boot and why use it?
Spring Boot simplifies Java enterprise application development by providing auto-configuration, embedded servers, and a streamlined development experience, reducing boilerplate code and configuration.

How does Spring Data JPA simplify database operations?
Spring Data JPA provides repositories that automatically generate common database queries, reducing the amount of boilerplate code needed to interact with databases.

What is dependency injection and how does Spring Boot handle it?
Dependency injection is a design pattern where objects receive their dependencies from external sources. Spring Boot uses annotations like `@Autowired` and `@Component` to manage dependencies and create loosely coupled applications.

How can I create RESTful APIs with Spring Boot?
Spring Boot simplifies REST API creation using annotations like `@RestController`, `@GetMapping`, `@PostMapping`, `@PutMapping`, and `@DeleteMapping`, along with Spring Data REST for automated API generation.

How do I configure JSP support in Spring Boot?
To enable JSP support, add the Tomcat Jasper dependency, configure the JSP view resolver with prefix and suffix properties in `application.properties`, and place JSP files in the appropriate directory.

What is content negotiation and how is it used in Spring Boot?
Content negotiation allows the server to provide data in different formats (e.g., JSON, XML) based on the client's request headers. Spring Boot supports content negotiation using annotations and configuration.

How can I test my Spring Boot APIs?
Tools like Postman can be used to send HTTP requests (GET, POST, PUT, DELETE) to your Spring Boot APIs and verify the responses and data persistence.

What is Spring Data REST and how does it simplify REST API development?
Spring Data REST automatically creates RESTful endpoints based on your JPA repositories, eliminating the need to write controller code for basic CRUD operations.

Related Videos