Java Articles, Tutorials & News

Writing C code in Java/Clojure with GraalVM

One of the latest fashions in the Java world is GraalVM. For someone who has been around, I still remember the “Write once, run anywhere” slogan of Java virtual machine. Apparently, the wheel has spun back, now people want to write native code in Java, wh…

Read more »

Constructing arrays of Boolean values in Java

It is not uncommon that we need to represent an array of Boolean (true or false) values. There are multiple ways to do it. The most natural way could be to construct an array of booleans (the native Java type). It is likely that when stored in an array, J…

Read more »

Java upload file flaw using Spring Boot

Last week, I needed to implement file upload using Spring Boot. When I finished, I realized that a security hole could happen in my algorithm. So I decided to write this article and share this problem with you.

Read more »

Java Agents

 Java Agents are an interesting capability of the JVM. Agents can either be Static(Load when the java app starts with a special flag) or the…

Read more »

Java Bitwise

Bitwise operations are faster and secure. Highly used in Security/Encryption,  Finite State Machines, Graphics, Comunication over ports/sock…

Read more »

Java Bloom Filter

Bloom Filter is a probabilist data structure, created in the 70s. The data structure is used to test if an element is a member of a Set. Fa…

Read more »