Java Project Loom – Launching 10 million threads (Part 2)

In the previous blog, we discussed a detailed overview of Project Loom. Now it’s time for some code. If you have not read about part 2 of this series, please check it out here: Let us see how we can create virtual threads in Java. Thread.ofVirtual().unstarted(() -> System.out.println(“Thread is not started”)); Thread.ofVirtual().start(() -> System.out.println(“Thread is […]

March 15, 2023


Java Project Loom – Virtual Threads (Part 1)

This JEP No 425 is something I am waiting for with bated breath. It’s a new notion that has been added to the concurrent APIs of JDK 19. It’s in the preview stage, and soon it will be a permanent feature in JDK in the coming few releases. Virtual Threads are light weight that reduce the effort of writing, […]

March 13, 2023


Distributed Locks in Spring-boot Microservice Environment

Suppose we are in an environment where only one instance is running in production. We want to do an account update and synchronise the transaction where we are doing the update. This can easily be achieved with the help of Reentrant Locks api’s of java, as shown below. @Service @RequiredArgsConstructor @Slf4j public class AccountService { […]

February 22, 2023

Java, Mobile Automation Testing, Technology

Healenium: Self-Healing Library for Selenium-based Automated Tests

AUTOMATION SELF-HEALING WITH HEALENIUM – [Part 1] Due to the altered layout and broken selectors, all automated UI tests eventually encounter NoSuchElementException. The build becomes red and the test crashes as a result. This discussion presents the new self-healing automation tool – Healenium that helps you to overcome problems of instability of automated tests automatically […]

February 16, 2023

Java, Mobile Automation Testing, Testing

Automation testing with Robot Framework and Python

What is Robot Framework? Robot framework is a comprehensive open-source automation framework for robotic process automation, acceptance testing, and acceptance test-driven development. It employs a keyword-driven testing method strategy. Test libraries that are implemented in either Python or Java can expand the possibilities. Robot Framework is a generic test automation framework for acceptance testing. It […]

February 10, 2023

Java, Mobile Automation Testing, Testing

Automated Software Testing with Puppeteer & amp; Jest

WHAT IS PUPPETEER? Puppeteer is a Node.js library developed by Google that lets you control headless Chrome through the DevTools Protocol. It is a tool for automating testing in your application using headless Chrome or Chromebit devices without requiring browser extensions like Selenium Webdriver or PhantomJS. WHAT IS JEST? Jest is a delightful JavaScript Testing […]

February 9, 2023

Java, Software development

Step By Step Guide : Sending Emails in Spring Boot

Step By Step Guide: Sending Emails in Spring Boot Using the JavaMailSender interface, spring boot offers a simple method for sending emails. You may send an email with Gmail transport layer security by utilizing the spring boot restful web API. STEP 0 : Add the Spring Boot Starter Mail dependency to your project STEP 1 : […]

February 2, 2023

Java, Software development

Customizing Validation in Spring Boot: How to Create Your Own Constraints

Customizing Validation in Spring Boot: How to Create Your Own Constraints  By developing unique constraint annotations and validator classes for Spring Boot, customized validation can be implemented.Here we can show more than one validation error messages The general steps to build a custom validator in Spring Boot are as follows: STEP 0 : Add dependency […]

January 24, 2023


Spring State Machine

State Machine Overview Spring state machine is a spring-module that allows us to describe well known, well understood transitions from one state to another. You have probably built a million state machines in your life if you have ever done any kind of programming. For example any kind of if-then-else statement at some point will […]

December 9, 2022