
REST API– REST is basically used for developing Web services which are maintainable, lightweight and scalable.
Hibernate: Hibernate is an ORM framework. It requires no boilerplate code of DAO classes. JPA: JPA simplifies the data access layer. Spring Boot: With Spring Boot, it is now a very easy process to create stand alone, ready for production spring applications with almost zero configuration. In the below tutorial, we will develop Spring Boot Application to get the Students record from the database, Create / Update the Student in the Database, Delete the Student from the Database using REST API. In this article, we will develop one simple application or REST API and we will cover the CRUD operations using the MySql database, Hibernate and JPA. In this article, We will learn to develop a RESTful CRUD ( Create, Retrieve, Update, Delete operations) API with Spring Boot, MySQL, JPA and Hibernate. In my previous tutorial of Spring Boot, I have explained the steps to develop the REST API in Spring Boot with example and explained all the annotations used for REST APIs. If you have not read my introduction article of Spring Boot, I would request you to take a look – Spring Boot Tutorial. I try to cover Spring Boot tutorials in as easy language as possible so that beginners can easily learn the framework. Spring Boot is very easy to use framework or module and it requires very less configuration to start the application quickly. to retrieve the Student with the specific id. Create the Service to use the Repository for performing CRUD operations. Create Custom Exception for your application. Create the Repository to access the data from the database. Create the Model class / JPA Entity class. Configure Hibernate / JPA in Spring Boot Application.
Configure the MySQL Database / Data Source.