Plain JDBC Database Operations for User Journal Management
This article demonstrates how to implement basic database interactions—user authentication, journal entry creation, and retrieval—using raw JDBC without any framework abstractions. The solution uses Apache Druid for connection pooling, standard JDBC APIs for SQL execution, and JavaBeans introspection for object mapping.
Core Domain Models
Two l ...
Posted on Wed, 21 Oct 2026 16:52:58 +0000 by Rebel7284
Exploring Java Reflection API and Class Introspection
Understanding Member Introspection
The Java Reflection API provides a powerful mechanism to inspect classes at runtime. It distinguishes between accessing public members (including those inherited from superclasses) and accessing all declared members (restricted to the current class regardless of access modifiers).
Public Members (Inherited): ...
Posted on Wed, 07 Oct 2026 16:22:54 +0000 by choubix
Java Reflection: Inspecting Class Components
Retrieving Constructors
The Java Reflection API provides specific mechanisms to access constructor metadata. getConstructor(Class... params) retrieves a single public constructor that matches the specified parameter types. getDeclaredConstructor(Class... params) returns a single constructor declared within the class, regradless of its visibilit ...
Posted on Wed, 07 Oct 2026 16:15:59 +0000 by harsha
: Java Reflection: Runtime Class Introspection and Dynamic Operations
The Java Reflection API enables programmatic access to class structure and behavior at runtime. Central to this capability is the Class object, which acts as a prototype for every loaded type. When compile-time access is restricted, this prototype object provides a pathway for dynamic instantiation and manipulation.
Constructor Invocation Strat ...
Posted on Mon, 27 Jul 2026 16:41:48 +0000 by simonmlewis
Exploring Java Reflection Capabilities and Usage
Retrieving Class Objects
There are three primary ways to obtain a Class instance at runtime:
1. Class<?> clazz = Class.forName("java.util.ArrayList");
2. String text = "example";
Class<?> clazz = text.getClass();
3. Class<?> clazz = Integer.class; // Note the lowercase 'class'
Inspecting Class Fields
...
Posted on Fri, 08 May 2026 08:32:52 +0000 by MikeSnead