-
Core Java
PriorityBlockingQueue In Java
Introduction: A PriorityBlockingQueue in Java implements the BlockingQueue interface and supports the features of a PriorityQueue. So, what’s a BlockingQueue?…
Read More » -
Enterprise Java
@Component vs @Repository vs @Service in Spring
Introduction: With Spring’s auto-scanning feature, it automatically detects various beans defined in our application. We usually annotate our beans using…
Read More » -
Enterprise Java
Spring Core Annotations
Introduction: Spring annotations present in the org.springframework.beans.factory.annotation and org.springframework.context.annotation packages are commonly known as Spring Core annotations. We can divide them…
Read More » -
Core Java
LinkedHashMap In Java
Introduction: LinkedHashMap is a Map implementation which maintains the insertion order of its elements. It extends the HashMap class: public class…
Read More » -
Enterprise Java
Creating Custom Maven Archetype
Maven archetypes are the project templates which can help us quickly create a maven starter project based on its type.…
Read More » -
Enterprise Java
Spring @Value Annotation
Introduction: Spring @Value annotation is used to inject values into variables and method arguments. We can either read spring environment…
Read More » -
Core Java
Java equals() and hashCode()
Introduction: Java Object class provides basic implementation of methods – hashCode() and equals(). These methods are extremely useful especially when…
Read More » -
Core Java
WeakHashMap In Java
A WeakHashMap in Java is a pretty popular data-structure among mid to senior-level Java developers. The WeakHashMap class is present in…
Read More » -
Enterprise Java
Maven Dependency Scopes
Introduction: Managing dependencies is a core feature of Maven. When defining a maven dependency, the scope attribute defines the visibility…
Read More »