-
Core Java
Parsing an Excel File into JavaBeans using jXLS
This post shows how you can use jXLS to parse an Excel file into a list of JavaBeans. Here is…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
Core Java
Throttling Task Submission with a BlockingExecutor
The JDK’s java.util.concurrent.ThreadPoolExecutor allows you to submit tasks to a thread pool and uses a BlockingQueue to hold submitted tasks.…
Read More » -
DevOps
Shell Scripting – Best Practices
Most programming languages have a set of “best practices” that should be followed when writing code in that language. However,…
Read More » -
Enterprise Java
Guava 15 – New features
A new version of the Guava library was released earlier this month and contains several new features and improvements. Here…
Read More » -
Desktop Java
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 » -
Enterprise Java
JUnit: Naming Individual Test Cases in a Parameterized Test
A couple of years ago I wrote about JUnit Parameterized Tests. One of the things I didn’t like about them…
Read More » -
Core Java
Analysing a Java Core Dump
In this post, I will show you how you can debug a Java core file to see what caused your…
Read More » -
Core Java
Testing Expected Exceptions with JUnit Rules
This post shows how to test for expected exceptions using JUnit. Let’s start with the following class that we wish…
Read More »