Core Java
-
Unit Testing in AEM (thinking loud)
This is not a recommendation of any sorts but a culmination of ideas and a few options that are available…
Read More » -
My favourite Java puzzler 2 + 1 = 4
Here’s my current favourite Java puzzler. How can you get your code to do this? …
Read More » -
Fail-fast validations using Java 8 streams
I’ve lost count of the number of times I’ve seen code which fail-fast validates the state of something, using an…
Read More » -
Why Now is the Perfect Time to Upgrade to Java 8
Interested to see how you can get the most out of the new Java 8 features with AppDynamics? Start a…
Read More » -
Working with GZIP and compressed data
Abstract We all know what it means to zip a file with zip or gzip. But using zipped files in…
Read More » -
Make agents, not frameworks
Ever since their introduction, Java annotations have become an integral part of the APIs of larger application frameworks. Good examples…
Read More » -
Thread Magic Tricks: 5 Things You Never Knew You Can Do with Java Threads
What are some of the least known facts and use cases for Java threads? Some people like mountain climbing, others do…
Read More » -
Java 8 Stream and Lambda Expressions – Parsing File Example
Recently I wanted to extract certain data from an output log. Here’s part of the log file: …
Read More » -
Dependency Injection – Field vs Constructor vs Method
Hi, today I would like to discuss in short different ways of injecting dependencies into your classes. In general you have…
Read More »