Core Java
-
Extending Guava caches to overflow to disk
Caching allows you to significantly speed up applications with only little effort. Two great cache implementations for the Java platform…
Read More » -
The Logging Olympics – A Race Between Today’s Top 5 Java Logging Frameworks
Developers: Takipi tells you when new code breaks in production – Learn more Log4J vs SLF4J simple vs Logback vs…
Read More » -
Advanced Java generics: retreiving generic type arguments
After their introduction in the JDK5, Java generics quickly became an integral element of many Java programs. However, as easy…
Read More » -
Java 8 parameter name at runtime
Java 8 will be introducing an easier way to discover the parameter names of methods and constructors. Prior to Java…
Read More » -
The infamous sun.misc.Unsafe explained
The biggest competitor to the Java virtual machine might be Microsoft’s CLR that hosts languages such as C#. The CLR…
Read More » -
Subtyping in Java generics
Generic types introduce a new spectrum of type safety to Java program. At the same type, generic types can be…
Read More » -
RMI enforcing Full GC to run hourly
During all the troubleshooting exercises I have carried out in my career, I have picked up a feeling that the…
Read More » -
Object-based micro-locking for concurrent applications by using Guava
One of the presumably most annoying problems with writing concurrent Java applications is the handling of resources that are shared…
Read More » -
Parameterized JUnit tests with JUnitParams
Parameterized unit tests are used to to test the same code under different conditions. Thanks to parameterized unit tests we…
Read More »