Mr.Humorous 🥘

Nothing is impossible, the word itself says 'I'm possible'❗️ 💪

Spring CORS - Spring @CrossOrigin example

Introduction to Spring @CrossOrigin annotation

CORS (Cross-origin resource sharing) allows a webpage to request additional resources into browser from other domains e.g. fonts, CSS or static images from CDNs. CORS helps in serving web content f...

Java CORS Filter Example

Introduction to Java CORS Filter

Cross-origin resource sharing (CORS) is a mechanism that allows JavaScript on a web page to make AJAX requests to another domain, different from the domain from where it originated. By default, suc...

Introduction to Interface

Java 8 Interfaces

In an interface all the fields (variables) are by default public, static and final. For an example in the following code both the MIN_SIZE and MAX_SIZE are public, static and final constants. inter...

Http Message Converters with The Spring

Introduction to Http Message Converters in Spring

Introduction To put in laymen terms, message converters are to marshal and unmarshal object in a different format (like JSON, XML etc.). Spring MVC uses the HttpMessageConverter interface to conver...

What is a Service Mesh?

Introduction to Service Mesh

A service mesh is a configurable, low‑latency infrastructure layer designed to handle a high volume of network‑based interprocess communication among application infrastructure services using appli...

Service Mesh Data Plane vs. Control Plane

Understanding Data Plane and Control Plane

1. What is a service mesh, really? Figure 1 illustrates the service mesh concept at its most basic level. There are four service clusters (A-D). Each service instance is colocated with a sidecar ne...

JVM Garbage Collectors

Introduction to different kind of GC collectors

1. Overview In this quick tutorial, we will show the basics of different JVM Garbage Collection (GC) implementations. Additionally, we’ll find out how to enable a particular type of Garbage Collect...

The Main NoSQL Database Types

Introduction to NoSQL Databases

1. Five Main NoSQL Database Types Wide-Column Store Document Store Key-Value Data Store Graph Store Multi-Model 2. Wide-Column Store As the name suggests, wide-column stores use column...

Directory Structure of Java Web Application

Reveal standard directory structure of Java Web App

Java Web Application Directory Layout In order to run your java web application(servlet,JSP etc) we need web server.Before running the application you need to package the resources inside it (servl...

Spring Boot with Multiple SQL Import Files

Initialize database upon application startup

1. Overview Spring Boot allows us to import sample data into our database – mainly to prepare data for integration tests. Out of the box, there are two possibilities. We can use import.sql (Hiberna...