Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

 

and many 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 »

SQL Update Statement Example

This is an article on SQL using the Update statement. 1. Introduction We will look at one of the data manipulation language (DML) constructs or statements called Update statement using the MySQL RDBMS. 2. What is Data Manipulation Language? In SQL, Data Manipulation language consists of SQL data-change statements that modify data but not the underlying schema or database objects. ...

Read More »

SQL Drop Table Example

While using databases and tables, you may encounter a situation when you will have to drop the table – including the data, and the structure of the table. For this purpose, you will use the SQL Drop Table command. 1. Pre-requisities To implement the examples given in the article, you can use SQL in the following ways. Install MySQL in ...

Read More »

How to Generate a Random Int in Java

This article shows how to generate a random Int or integer in Java using different approaches. 1. Introduction Java has several ways to generate a random Integer, primitive or wrapped object, on its environment. Here we’ll see some of these methods listed below: Random classMath classThreadLocalRandom class 2. Pre-requisites The minimum Java version for execute this article’s example is JDK ...

Read More »

SQL Insert Query Example

1. Introduction In this article, we will look at one of the Data Manipulation Language (DML) constructs or statements called Insert query using the MySQL RDBMS. 2. What is Data Manipulation Language? In SQL, Data Manipulation language consists of SQL data-change statements that modify data but not the underlying schema or database objects. The commands included in the data manipulation ...

Read More »

Spring Boot URL Shortener

Welcome, in this tutorial, we will use Redis and Spring boot to demonstrate a URL shortener (also known as TinyURL) application. This application will create and stores the original URL in Redis in-memory cache. 1. Introduction Before going further in this tutorial we will take a look at the common terminology such as introduction to Spring boot, Docker, and Redis. ...

Read More »

DJL Spring Boot Example

In this article, we will discuss what the DJL in Spring Boot is (Deep Java Library) and its uses. We will also see an example of making use of an existing model to detect an object using a spring boot application. 1.What is DJL in Spring Boot Deep Java Library is one of Java’s libraries that provides a platform for ...

Read More »