6 Ways To Directly Initialize a HashMap in Java

Java provides several ways to initialize a HashMap directly, making your code more concise and readable. In this blog post, we’ll explore different methods to create and populate a HashMap in one go using Java. 1. Using Map.of() (Java 9+) For small, immutable maps, you can use the Map.of() method: This method is convenient but … Read more

Using MessageSource In Spring Boot Application

Overview Nowadays, creating applications that serve users from different countries with different languages and dialects is a common practice. How to make your application friendly to users across the globle? That’s what we are going to find out today. I18n and l10n Internationalization (i18n) is the process of designing your software ready to serve people … Read more

Running PNPM With WebStorm

Overview By default, webstorm doesn’t support running PNPM out of the box. The default mode supports node only. However, with some simple configurations, you can click on the run or the debug button and run your app with pnpm. Let’s get started. Configure PNPM to run with WebStorm First of all, you need to find … Read more