Java
-
Copilot Agent Skills for Java, Spring Boot, MongoDB and Restate
Write GitHub Copilot Agent Skills that encode your team’s Java, Spring Boot, MongoDB and Restate standards, with a worked example and pitfalls.
-
Apache Kafka for Architects: From Concepts to Production Patterns
A hands-on guide built around a real microservices system — order processing, notification fan-out, multi-broker clustering, and delivery guarantees. 1. Why Kafka? The Paradigm Shift Traditional message queues (RabbitMQ, ActiveMQ, SQS) are built around a simple model: Kafka rejects…
-
Understanding Design Patterns and their Types in Java
A practical overview of design patterns in Java: what they are, why they matter, and the three main types: creational, structural and behavioral.
-
Generate Java POJOs from XSD Schema: Simplifying Java Development
Generate Java POJOs from XSD schemas automatically with JAXB and XJC, and why that beats hand-writing them. Includes a Maven setup.
-
Hello World Program with Map Struct
A Hello World for MapStruct, the compile-time Java mapping library that cuts boilerplate when converting between beans and DTOs.
-
WSDL 2 Java Generate SOAP client from URL
SOAP stands for Simple Object Access Protocol; it is an XML ( eXtensible Markup Language) based protocol to exchange messages with a web service. SOAP uses HTTP for communication To…
-
Factory design pattern using Java annotation, IoC and Springboot
Factory pattern is a creational pattern where the logic of creating an object of the class resides in a factory class, in this article, we will see how to implement…
-
Scoped Bean Prototype Bean problem: Springboot
In Springboot when a bean is created, by default it is Singleton but if you annotate the bean with the scope as “prototype” still the bean are singleton in some…
-
Infinite Loop with ApplicationReadyEvent – Spring Boot
In my previous post, I wrote about running infinite loop in Java and also I mention that it was not recommended way of doing and wrote an alternate way with Spring boot…