Core Java
-
Avoiding FORs – Anti-If Campaign
Have you ever wondered how FORs impact your code? How they are limiting your design and more important how they are…
Read More » -
Sandboxing Java Code
In a previous post, we looked at securing mobile Java code. One of the options for doing so is to…
Read More » -
Why Future Generations Will Hate You for Using java.util.Stack
Before I kill you with some meaningless tautology, here is the gist If your application is near real time or…
Read More » -
Java 7: File Filtering using NIO.2 – Part 3
Hello all. This is Part 3 of the File Filtering using NIO.2 series. For those of you who haven’t read Part…
Read More » -
java.lang.ClassNotFoundException: How to resolve
This article is intended for Java beginners currently facing java.lang.ClassNotFoundException challenges. It will provide you with an overview of this…
Read More » -
JUnit4 Parameterized and Theories Examples
I always relied on TestNG to pass parameters to test methods in order to give a bit of flexibility to…
Read More » -
Gang of Four – Proxy Design Pattern
Proxy is another Structural design pattern which works ‘on behalf of’ or ‘in place of’ another object in order to…
Read More » -
Let’s turn packages into a module system!
Many projects are divided into modules/subprojects using the build system (Maven, Gradle, SBT …); and writing modular code is generally…
Read More » -
Signing Java Code
In a previous post, we discussed how to secure mobile code. One of the measures mentioned was signing code. This…
Read More »