In this article, we will discuss how to use the spring framework in the Eclipse IDE. We will go step by step to set up all the prerequisites to run a spring application in eclipse with an example. 1. Setup Java Development Kit The first and the important step is to set up the java development kit locally in your ...
Read More »Home »
How to Download and Install Java Runtime Environment and JDK on Mac
In this article, we will discuss how to download and install the latest version of Java Runtime Environment and JDK on Mac OS, which is JDK15. We will look into the new features introduced in this version. Also will look at the system requirements for installing the JDK15 and the JRE comes with it. 1. Latest version The latest and ...
Read More »Install Docker Desktop on Mac
In this article, we will explain how to install Docker Desktop on mac. We will see the minimum requirements for installing the Docker Desktop on mac systems. Also, we will discuss what other features come with the installation. 1. Minimum requirments Before installing the Docker into our mac system, it is essential to understand the minimum requirements for the Docker ...
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 »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 »Java API Tutorial
In this article, we will learn about Java API and working with Java API. We will discuss different types of API requests and what does REST API mean. We will also see an example of a REST API. You can also check this tutorial in the following video: Java Web Services Tutorial – video 1. Java API An API stands ...
Read More »How to convert double to int in Java
In this article, we will learn how to convert a double value to an int in Java examples. We will discuss briefly two ways of converting double to integer namely typecasting and rounding and after that will see some example code for that. 1. Difference in conversion with Typecasting and Math.round() 1.1 Typecasting Typecasting is a way to convert one ...
Read More »Download and Install Java Development Kit (JDK) 8
In this article, we will discuss the step-by-step process to download and install JDK (Java Development Kit) 8 in your machine and then compile and execute a java program from the command prompt. 1. Java 8 Download 1.1 Go to the jdk site To download Java 8, go to the site JDK 8. Go to the link, and you will ...
Read More »Java BigDecimal Example
In this article we will learn about a primitive data type in java the BigDecimal class in java. We will briefly discuss about the various methods available in the BigDecimal class. 1. What is BigDecimal? This primitive data type in java consists of an arbitrary precision integer unscaled value and a 32-bit integer scale. If zero or positive, the scale ...
Read More »