You always wanted to create RESTful API's that store their data in a database? In this tutorial I will show you how you can use Spring Boot, Java Persistence API (JPA) and MySQL to create a small RESTful API that stores your data in a local MySQL database.
Java Blog Beiträge
Hier findest Du meine Blog Beiträge die sich mit dem Themenbereich Java befassen.
Du wolltest schon immer RESTful API’s erstellen, die ihre Daten in einer Datenbank abspeichern? In diesem Tutorial werde ich dir zeigen wie Du mit Spring Boot, Java Persistence API (JPA) und MySQL einen kleine RESTful API erstellen kannst, die Ihre Daten in einer lokalen MySQL Datenbank speichert.
In this tutorial I want to show you how to convert lists or sets into a map with the Java 8 Streaming API Collection.
In this tutorial I will show you how you can use Spring Boot, Spring Security & JWT to secure your Micrsoservice or REST API against unauthorized persons.
Now that we've seen how to create a rest controller with Spring Boot and address it with Postman, should we think about how to store the data in the system? There are many ways and ways to store data. The classic variant would be to use a SQL database like MariaDB. But I want to show you in my tutorial how you can store the data in a MongoDB.
In the last tutorial we learned how to create applications with Spring Boot using Apache Maven in a very short time. This tutorial is about creating a rest controller with Spring Boot. We will learn how to create a rest controller and how to offer different HTTP methods (GET, POST).
With Spring Boot and Apache Maven it is possible to create microservices in shortest time! In this tutorial I would like to show you how to create a Spring Boot project with Apache Maven. Later there will be more tutorials, which will build on this tutorial.