Spring Data Framework
Get an overview of the course and a brief introduction to the Spring Data Framework.
We'll cover the following
Why this course?
This course explores the Spring Data Framework with popular modules like Spring Data JPA, Spring Data MongoDB, and Spring Data Redis, helping us learn to integrate different databases and data sources into a Java/Spring application for data access. We’ll receive a well-rounded learning experience with hands-on practical examples and end-to-end implementations. This course will also cover advanced-level concepts like transactionality, auditing, and caching.
Intended audience
This course is suitable for anyone with prior experience in the Java programming language who is familiar with the Spring Framework basics. Additionally, knowledge of databases and SQL will be useful in this course.
Course structure
The course is designed to start with beginner-level concepts before progressing to intermediate-level and then advanced-level topics. Every chapter discusses a core concept or Spring Data module in detail through different lessons. Each topic in a lesson is discussed with examples and supporting playgrounds for a reader to verify the concept on the platform itself. A quiz is also added at the end of each chapter to reinforce what’s learned.
Course objectives
This is an advanced-level course that serves as a guide to Spring Data. It will cover the integration of various databases like H2 database, Postgres, MongoDB, Redis, and Elasticsearch through modules like Spring Data JDBC, Spring Data JPA, Spring Data MongoDB, Spring Data Redis, and Spring Data Elasticsearch in a Spring application.
We’ll develop a Spring Boot application with database integration using Spring Data. Therefore, after finishing the course, we’ll have a thorough understanding of the Spring Data Framework with practical examples.
What is Spring Data?
Spring Data is an open-source framework that provides various modules to integrate relational and nonrelational databases, map-reduce frameworks, and cloud-based data services to a Spring-based application. In a nutshell, it allows developers to build a back-end Java, Groovy, or Kotlin application that can access data from different kinds of data sources.
The framework provides seamless support for templating, custom object mapping using domains, data access with Create, Read, Update, and Delete (CRUD), pagination, sorting support using repositories, and dynamic query generation. To do so, it features the Spring Data Commons module that underpins all other modules and empowers them with common APIs for object mapping, repository interface, and query generation.
In this lesson, we discussed the course’s intended audience, structure, and objectives. We also got a brief introduction to Spring Data projects.