Spring Boot MongoDB CRUD Example

Spring Mongo CRUD Here you will see a post on Spring Boot MongoDB CRUD example, where CRUD means Create, Read, Update, and Delete operations. For performing CRUD operations on MongoDB through Spring Boot framework, you need to add required dependency. I will use Spring REST controller to publish the MongoDB CRUD operations using REST or RESTful API. Related Posts:

Spring Boot Data JPA CRUD Example

Spring Data JPA CRUD You will see here Spring Boot Data JPA CRUD example. CRUD is an acronym that means Create Read Update and Delete operations. I will use an in-memory h2 database in order to perform CRUD operations in database. I have other example on Spring Data JPA CRUD example but the application does not use Spring Boot. In…

Drools Support In Spring Boot 2

Spring Drools You will see an example on drools support in Spring Boot 2. You might have seen in past example on how to integrate drools in Spring application. I had used Spring Boot version 1.5.9 but here it will support Spring Boot 2.1.5 to 2.7.2 versions. I will not explain about drools in this post and if you want…

HATEOAS driven REST API using Spring Boot

Introduction In this post you will see an example on HATEOAS driven REST API using Spring Boot. An approach that breaks down the principal elements of a REST approach into three steps are resources, http verbs and hypermedia controls: Without using any mechanism of the web, HTTP is used as a transport system for remote interactions. Every individual service end…

Spring Boot Security Example – Single Sign On Using OAuth 2

Introduction Here you will see Spring Boot Security Example – Single Sign On using OAuth 2. Single Sign On or simply SSO is a property of access control of multiple related, yet independent, software systems, where a user logs in with a single set of credentials (username and password) to gain access. Here I will use Spring Boot 2.14/2.7.0. I…

Create Microservices using Spring Boot and build using Gradle

Introduction Here we will see how to create Microservices using Spring Boot and Spring Cloud and build using Gradle tool. What are Microservices? Before I tell you about the microservices, I would like to tell you about monolithic architectural style, which is built as a single, autonomous unit. So let’s say an web application with client-server model, where the server-side…

Integrate H2 In-memory Database with Spring Boot

Spring Boot and H2 Database This tutorial will show you how to integrate in-memory H2 database with Spring Boot and build using Gradle/Maven tools. You will see here simple Spring Boot Data JPA example with Spring REST API to understand how it works. H2 is in-memory database, so it does not have persistence capability once your Spring Boot application is…

Use Jetty instead of Tomcat in Spring Boot application

Spring Boot App Server Spring Boot web starter uses Tomcat as the default embedded servlet container or Tomcat is the default embedded server. So you don’t need to add any separate dependency for this Tomcat server. The Tomcat server is shipped with the spring boot starter web dependency. Now let’s say your requirement is to not use the default server…

Spring Boot + ReactJS CRUD Example

Introduction Here you will see tutorial on Spring Boot + ReactJS Example. The backend application is built using Spring Boot framework that exposes RESTful APIs for performing CRUD operations. You might have seen many examples of Spring MVC web application application using JSP as a front-end technology but here I will use React JS as a front-end technology to build…

Spring Boot Data JPA Left Right Inner And Cross Join Examples

Spring Boot Data JPA Joins This tutorial will show you Spring Boot Data JPA Left Right Inner and Cross Join Examples. I will show you how to use this example in Spring Boot application, where you will use Spring Data JPA Repository to query your database tables. I will build the project using both maven and gradle build tools. I…