Author: marjavamitjava

Java Example: Using Protocol Buffers

This example shows how to define, compile, serialize, and deserialize a Protocol Buffers (Protobuf) message in Java. đź“Ś Step 1: Define the Protobuf Schema Create a file named person.proto: Explanation: đź“Ś Step 2: Compile...

What kind of code is removed in GraalVM

In GraalVM Native Image mode, the compiler removes unused code to reduce binary size. This means if a class, method, or field is:❌ Not directly used anywhere in the code AND❌ Not explicitly registered...

Why Doesn’t Reflection Work in GraalVM’s Native Image?

1. How Reflection Works in Traditional JVMs In a traditional JVM, reflection allows the application to:âś… Discover and inspect classes, methods, and fields at runtimeâś… Dynamically instantiate objects and invoke methodsâś… Access private members...

GraalVM: The Future of High-Performance and Polyglot Computing

Introduction GraalVM is a revolutionary virtual machine designed to enhance the performance of Java and other languages while offering seamless polyglot capabilities. Developed by Oracle Labs, GraalVM provides Just-In-Time (JIT) and Ahead-of-Time (AOT) compilation,...

The Tale of SSL Certificate Verification

Imagine there’s a Central Authority (Root CA) in a vast country that issues official licenses for secure communication. This Central Authority is highly reputable, but it’s too prestigious and busy to deal with every...

Why Do We Need Intermediate Certificate Authorities (ICAs)?

To understand the role of Intermediate CAs (ICAs) and the trust chain, think of it as a hierarchical authority delegation system, similar to a government issuing documents: Analogy: Imagine a country’s Supreme Government issues...

How does SSL handshake work

How a Website Owner Generates and Uses SSL/TLS Certificates 1. Generating the Certificate 2. Storing the Certificate and Private Key 3. Configuring the Web Server 4. Browser Verification of the Certificate 5. Encrypting and Decrypting Data Summary This process...