-
Spring Aspect Oriented Programming
Aspecting in Spring refers to re-usable blocks of code that are injected into the application at runtime and can be a powerful tool for modularizing and adding behaviour to solve cross-cutting concerns such…
-
Vector Databases Explained
Artificial Intelligence has rapidly evolved from simple chatbots into sophisticated systems capable of reasoning over company documents, answering domain-specific questions, and powering autonomous AI agents. At the heart of many of these systems…
-
Constructors and Object Initialization
In the previous articles, we explored Java objects, object lifecycle, and classes. Now it’s time to dive into one of the most important topics for the Oracle Certified Professional (OCP) Java 21 exam:…
-
The Strategy Pattern in Java
Software developers often face situations where an application needs to perform the same task in different ways depending on context. Hard-coding these variations with multiple if-else or switch statements can quickly make code…
-
Understanding Project Loom’s Virtual Threads
Project Loom is an ongoing effort by the OpenJDK community to introduce lightweight, efficient, and scalable concurrency constructs into the Java platform. It primarily focuses on virtual threads, structured concurrency, and other improvements…
-
SOLID Principles
The SOLID principles are five design principles that help developers write maintainable, scalable, and testable object-oriented code. 1. Single Responsibility Principle (SRP) A class should have only one reason to change. Example (Violating…
-
Java Object Lifecycle
Creation: Reassigning References: Garbage Collection: 3. Lifecycle Explanation Key points to remember:
-
Java Certification Guide
This series will provide for mastering Java concepts for the Oracle Certified Professional (Java 21) exam.
-
Declaring and Instantiating Java Objects
In Java, an object is an instance of a class. To create an object, you need to: Nested Classes Java allows you to define classes within other classes. These are called nested classes.…
-
Introduction to Micronaut: A modern framework for JVM applications
In the ever-evolving landscape of Java frameworks, developers continually seek tools that combine performance, simplicity, and scalability. Micronaut, introduced in 2018 by the creators of the Grails framework, has quickly gained traction as…
-
The Builder Pattern
The Builder pattern is a creational design pattern used in object-oriented programming, particularly in Java, to simplify the construction of complex objects. It is especially useful when an object requires a lot of…