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 ....

 

 

SQL Truncate Table Example

In this article, we are going to explain the SQL Truncate Table through examples. While using tables in databases, you may need to delete the data of the entire table. In this article, we will study the SQL Truncate Table command, and use it with an example. We will also understand the difference between the SQL Drop Table command and ...

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 »

SQL Update Statement Example

This is an article of SQL using the Update statement. 1. Introduction In this article, 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 which modify data but not the underlying schema ...

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 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 8 (find ...

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 which modify data but not the underlying schema or database objects. The commands included in the data manipulation ...

Read More »