Enabling HTTP/2 Support in Spring Boot Applications

Although HTTP/3 has been standardized as of June 2022, many projects still do not adopt HTTPS, which is concerning. The official release of HTTP/3 was announced on June 6, 2022, by the IETF QUIC and HTTP working group. For more details, refer to this article. On June 6, 2022, Robin Mark, a member of the IETF QUIC and HTTP working group, announc ...

Posted on Mon, 31 Aug 2026 16:19:58 +0000 by mattison

Connecting to MySQL Database with Vert.x

1. Creating a Verticle Component package jdbcConnection; import io.vertx.core.AbstractVerticle; import io.vertx.core.AsyncResult; import io.vertx.core.Future; import io.vertx.core.Handler; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import io.vertx.ext.asyncsql.MySQLClient; import io.vertx.ext.sql.SQLClient; impo ...

Posted on Mon, 31 Aug 2026 16:15:28 +0000 by yakk0

Java Thread Synchronization Techniques and Implementation

Causes of Thread Safety Issues In concurrent programming scenarios, multiple threads often interact with shared resources. The typical process involves reading data from JVM memory, modifying it, and writing it back. However, when multiple threads operate concurrently, race conditions can occur. One thread's modifications might be overwritten b ...

Posted on Mon, 31 Aug 2026 16:02:32 +0000 by wowiz

Shiro Security Framework: Authentication and Authorization

Apache Shiro is a powerful and flexible security framework that provides robust authentication and authorization capabilities for Java applications. Shiro Core Architecture Subject: Represents the "current user" or actor interacting with the system. This can be a human user, a remote service, or any entity requiring security. Securit ...

Posted on Sun, 30 Aug 2026 16:47:32 +0000 by g00fy_m

Practical Guide to HBase Database Programming

This laboratory exercise focuses on practical HBase database operations, covering both command-line interfaces and Java programming implementations. You will learn how to perform essential database administration tasks, transform relational data structures for NoSQL storage, and develop Java applications that interact with HBase clusters. Learn ...

Posted on Sun, 30 Aug 2026 16:46:49 +0000 by Entanio

Web Security CTF Techniques: Flask PIN Cracking, PHP Exploitation, and Java Deserialization

Challenge 801: Flask Debugger PIN Exploitation This challenge demonstrates calculating the debugger PIN for a Flask application running in debug mode. The target exposes the console endpoint and allows file reading through a query parameter. First, retrieve the machine ID components: # Node ID from network interface /file?filename=/sys/class/ne ...

Posted on Sun, 30 Aug 2026 16:45:43 +0000 by The Stranger

Avoiding Deadlocks When Using Thread Pools with Parent-Child Tasks

When working with thread pools, a common pitfall arises when parent and child tasks share the same pool. This can lead to unexpected deadlocks and incorrect execution timing. Consider a simple example where a thread pool handles five independent tasks via a loop. Each task processes data asynchronously and uses a CountDownLatch to signal comple ...

Posted on Sun, 30 Aug 2026 16:41:36 +0000 by czs

Java Thread Implementation and Thread Pool Usage

Two primary approaches exist for creating new execution threads in Java: Extending the Thread class: Define a sucblass of Thread and override its run() method. Instantiate the subclass and envoke start() to initiate thread execution. public class CustomThread extends Thread { @Override public void run() { for (int i = 0; i ...

Posted on Sun, 30 Aug 2026 16:37:12 +0000 by EPCtech

JDBC Framework with Connection Pools and Design Patterns

JDBC Fundamentals and Framework Development Core JDBC API Overview DriverManager Functionality The DriverManager serves as the central registry for JDBC drivers. When loading a driver class via Class.forName(), the driver registers itself automatically through a static initialization block that calls DriverManager.registerDriver(). Modern MySQL ...

Posted on Sun, 30 Aug 2026 16:32:44 +0000 by blink359

Practical Docker Deployment and Configuration Guide

Deploying GitLab To set up a GitLab instance with persistent storage, first create the necessary directory structure on the host machine to hold configuration, logs, and data. sudo mkdir -p /srv/gitlab/config sudo mkdir -p /srv/gitlab/logs sudo mkdir -p /srv/gitlab/data Launch the GitLab container using the official Community Edition image, ...

Posted on Sun, 30 Aug 2026 16:15:52 +0000 by Ekate