Java
-
Garbage Collection in Java (4)
G1: Garbage First The G1 collector is the latest collector to be implemented in the hotspot JVM. Its been a…
Read More » -
An Automated OSGi Test Runner
Among my fellow team members I was known for notoriously forgetting to maintain the (JUnit) test suite. I just can’t…
Read More » -
Mini Search Engine – Just the basics, using Neo4j, Crawler4j, Graphstream and Encog
Continuing to chapter 4 of Programming Collection Intelligence (PCI) which is implementing a search engine. I may have bitten off…
Read More » -
Testing Java 8 in 3 Easy Steps
tl;dr Use your CI Setup to test Java 8. The upcoming Java 8 release promises a bunch of new feature…
Read More » -
How to use Reflection to Document your Data Model based on JPA Annotations
So using JPA, Hibernate or EBeans is cool when you can just annotate your Java classes, but haven’t you always…
Read More » -
Messaging with RabbitMQ
We previously published a brief tutorial showing how to set up a Spring RabbitMQ Template. Now, let’s take a step…
Read More » -
The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism
Java 5 has introduced generic polymorphism to the Java ecosystem. This has been a great addition to the Java language,…
Read More » -
Java 7 Swing: Creating Translucent and Shaped Windows
Java 7 Swing supports windows with transparency and non-rectangular shapes. The following screenshot shows a circular window created with 75%…
Read More » -
Spring MVC Custom Validation Annotations
Last tutorial, I showed how to validate a form using annotations. This works great for simple validations, but eventually, you’ll…
Read More »