Core Java
-
Vigenère Cipher in Java
The Vigenère cipher is a classic method of encryption that utilizes a keyword to create a more complex substitution, making…
Read More » -
Ktor: Unleash the Power of Asynchronous Web Development in Java
Ktor isn’t your average Java web framework. It throws away the old, clunky ways and embraces a modern, asynchronous approach…
Read More » -
Jackson and Lombok Examples
1. Introduction Jackson is an open-source java library for processing JSONs. It deserializes a JSON string into a Plain Old…
Read More » -
Map Subset of JSON via Jackson
1. Introduction JavaScript Object Notation (JSON) is a text-based data format and widely used in the APIs for exchanging data…
Read More » -
Fixing Ambiguous Method Call Errors in Mockito
In Java, method overloading allows a class to have multiple methods with the same name but different parameter lists. However,…
Read More » -
Building Secure REST APIs with Javalin and JWT
REST APIs are the backbone of modern web applications, but securing them can be a complex task. Javalin, with its…
Read More » -
Extract the Common Name (CN) from an X509 Certificate in Java
The Common Name (CN) is a critical field within an X509 certificate that identifies the entity owning the certificate. In…
Read More » -
Conquering Errors in Java Lambdas
Java lambdas, with their concise syntax and focus on functionality, have revolutionized Java programming. But what happens when things go…
Read More » -
Guide to ExecutorService vs. CompletableFuture
Modern applications often require efficient handling of concurrent tasks to improve performance and responsiveness. Java provides robust concurrency utilities, such…
Read More »