Core Java
-
AES-256 Encryption with Java and JCEKS
Overview Security has become a great topic of discussion in the last few years due to the recent releasing of…
Read More » -
Java 8 news
The first release candidates of Java 8, b128 and Java 8 RC2 showed up on February, fixing a serious flaw…
Read More » -
Using Reflection for Testing
I am working on a presentation about the ‘Single Responsibility Principle’, based on my previous post. It take most of…
Read More » -
OutOfMemoryError: solution antipatterns
Throughout those years we have kept a close eye on the problems packaged in different flavours of OutOfMemoryError message. Daily…
Read More » -
Java 8: Compiling Lambda Expressions in The New Nashorn JS Engine
In a recent post I took a look at how Java 8 and Scala implemented Lambda expressions. As we know…
Read More » -
Serializing Java Objects with Non-Serializable Attributes
There are multiple reasons one might want to use custom serialization instead of relying on Java’s default serialization. One of…
Read More » -
Three Reasons Why I Like the Builder Pattern
There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The…
Read More » -
Testing for expected exceptions in JUnit
Unit tests are used to verify that a piece of code operates as the developer expects it to. Sometimes, that…
Read More » -
Java 8 Friday Goodies: Lambdas and SQL
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More »