Core Java
-
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 » -
Stream-Powered Collections Functionality in JDK 8
This post presents application of JDK 8 – introduced Streams with Collections to more concisely accomplish commonly desired Collections-related functionality.…
Read More » -
Book Review: Mockito Essentials
The subtitle of Sujoy Acharya‘s Mockito Essentials (Packt Publishing, October 2014) is: “A practical guide to get you up and…
Read More » -
How To Process Java Annotations
One of the cool new features of Java 8 is the support for lambda expressions. Lambda expressions lean heavily on…
Read More » -
How to get all Method information under a Class in Java Reflection?
This article is building on my previous post. In this article we will see how can we retrieve Class Related…
Read More »