(stating the obvious, but…) Rabbits

Well, let’s say we have a distributed system and services. A simple way to enable communication between those services is to make them call each other directly. This is called RPC-style communication. RPC stands for remote procedure call. We know the address (URL or IP Address) of the service we…

JVM (Java Virtual Machine) is the layer between Java application and operating system and its sole purpose is to execute any program that is compiled to Java bytecode.

Whenever you run a Java application, an instance of JVM is created and when the application completes, the instance dies.

How does…

Let’s say that you have a json file which you want to map to a table in the database in your application with Spring Boot

languages.json

First, in order to map this to a class, we need to create an entity.

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor…

This constructor may have some arguments…

1. Constructors are code blocks that run every time a class is instantiated by using new keyword.

2. No argument constructor is called default constructor.

3. Every class has to have at least one constructor. If no constructor is given in the class definition, compiler will define default constructor for…

Mehmet Akcay

a geek who loves to understand the reasons behind things... and colors... Colors are cool.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store