Home » Enterprise Java » Page 7

Enterprise Java

Using Apache Kafka with Spring Boot

Welcome, in this tutorial, we will see how to implement Kafka in a spring boot application. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Lombok, and Kafka. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, ...

Read More »

Apache Spark Architecture Tutorial

In this tutorial, we will take a look at the Apache Spark Architecture. 1. Introduction Apache Spark was created in UC Berkeley’s AMPLab in 2009. It was created by Matei Zaharia. It was open-sourced in 2010 with a BSD license. Apache acquired Spark in 2013. It became a popular project in the Apache program in 2014. Apache Spark is based ...

Read More »

Spring Boot Application with Prometheus

Welcome, in this tutorial, we will see how to implement Prometheus in a Spring Boot application. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot and Prometheus. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the spring framework including auto-configuration, standalone-code, ...

Read More »

REST vs GraphQL: A Detailed Comparison

In this article, we will take a look at the most important differences between REST vs GraphQL. 1. Introduction REST and GraphQL are web services technologies that are popular. This article talks about the differences between REST and GraphQL. REST APIs are simpler compared to SOAP. REST was a defacto standard till 2011. Facebook created GraphQL for mobile applications. GraphQL ...

Read More »

Spring Boot and OAuth2 Tutorial

In this tutorial, we will show how to integrate OAuth2 with Spring Security in a Spring Boot application. 1. Introduction Many web applications use some mechanism for identifying a user, if for nothing more than to provide a personalized experience. Also, an authorization check may be required to determine if the user has the necessary access level to use the ...

Read More »

Spring Boot Database Migrations with Flyway

Welcome, in this tutorial, we will see how to implement a database migration in a spring boot application using Flyway. 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction to Spring Boot, Lombok, and Flyway. 1.1 Spring Boot Spring boot is a module that provides rapid application development feature to the ...

Read More »

How to Configure Multiple Data Sources in a Spring Boot Application

Welcome, in this tutorial, we will see how to configure multiple data sources in a single boot application. Here we will use a single source of truth (meaning a datatype of a single type but fetch the data from two different databases). 1. Introduction Before going further in this tutorial, we will look at the common terminology such as introduction ...

Read More »

Spring Boot Docker Image Debugging

In this article, we will explain how to debug the spring boot application running in the docker image. We will see a sample spring boot application and debug it in the docker container. 1. Create a spring boot application Create a simple spring-boot application using any IDE(in my case, I am using IntelliJ IDEA) of your choice with basic configuration ...

Read More »

How to Call a REST API Using jQuery AJAX in Spring Boot

1. Introduction This is an in-depth article related to the JQuery AJAX Call to Spring Boot based Rest Service. Spring Boot framework has features to build applications. Spring Boot has features related to building rest services and unit testing the application. 2. Spring Boot Rest API – JQuery AJAX Call 2.1 Prerequisites Java 8 or 9 is required on the ...

Read More »

Spring Boot Health Check API

Welcome, this tutorial is about Spring Boot Health Check API. We will understand actuators in sping boot to monitor a spring boot application. 1. Introduction Before going further in this tutorial we will take a look at the actuator in spring boot. 1.1 Actuator The actuator is a sub-project of the spring framework that provides certain HTTP and JMX endpoints ...

Read More »