Java/JVMSoftware 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 […]

Muskan Lama
Muskan Lama
Read

Java/JVM

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 […]

Anil Gola
Anil Gola
Read

Java/JVM

Getting Started with Spring Boot

What is Spring Boot? Spring Boot is now an open-source Java-Based framework to create standalone microservices with production-ready features. It is heavily maintained by the Pivotal team. Microservices is an architectural design that creates scalable, loosely coupled, and testable applications with a single function module with a well-defined interface. What is MicroService? MicroService is an architecture that […]

Moin Malik
Moin Malik
Read

Java/JVMSoftware developmentTesting

Unit Testing using JUnit and Mockito

Introduction to Unit testing What is Unit testing? Unit testing is a process that is used to verify a unit or unit’s functionality. This step helps in the estimation of the codes by other team members and also creates a record of all necessary information including errors that occur. It provides an opportunity for the […]

Ajay Kumar
Ajay Kumar
Read

CloudDevOpsJava/JVM

Dockerizing a Spring Boot Application

Dockerizing a spring boot application, that uses more than one container. We have a spring boot application that takes user input as form data and saves it in a MySQL database. The context of dockerizing a spring boot application is so that other developer using my application doesn’t have to set up the tomcat server […]

Himanshu Kumar
Himanshu Kumar
Read

DevOpsJava/JVMSoftware development

Docker for Beginners

Why Docker?  Has it ever happened to you that you create an application it runs successfully on your machine? You share this application with your friends because it doesn’t work on their machines. But it worked on my machine !! What is Docker? Docker is a tool for running applications in an isolated environment, it […]

Himanshu Kumar
Himanshu Kumar
Read

Java/JVM

Java Transformation from Java 7 to Java 18

A lot has changed in Java from its beginnings in 1995 until today. Java 8 was a revolutionary release that put Java back on the pedestal of the best programming languages. We will go through most of the changes in the Java language that happened from Java 8 in 2014 until today. I will try […]

Ankit Sagar
Ankit Sagar
Read

Java/JVM

Optimistic Locking in Spring Boot

Overview We know that for large-scale software applications that handle a large number of database transactions, implementing a concurrency management mechanism is essential so that we can handle multiple database calls simultaneously and effectively without any data loss. One of the ways to implement concurrency control is the optimistic locking mechanism provided by Java Persistence […]

Aditya Singh
Aditya Singh
Read

AdobeJava/JVMSoftware development

JOSE Encryption and AEM Keystore Integration

What is JOSE? JOSE or JSON Object Signing and Encryption , in brief, is a framework intended to provide a method to securely transfer claims (such as authorization information) between parties. The JOSE framework provides a collection of specifications to serve this purpose. One big plus for this framework is that it has excellent support […]

Services