Java
-

Running JUnit Tests Repeatedly Without Loops
Recently I came across a problem where I had to write tests for a method that calculates randomly distributed values…
Read More » -

Simple Gradle Web Application
Gradle easily supports Java web applications through the “war” and “jetty” plugins. This tutorial will show you how to quickly…
Read More » -

Predicate and Consumer Interface in java.util.function package in Java 8
In my previous post I wrote about Function interface which is part of java.util.package. I also mentioned about Predicate interface…
Read More » -

Bending NetBeans Code Templates to My Will
Anyone who has read any of my posts on NetBeans knows that there are numerous features of NetBeans that I…
Read More » -

JMS and Spring: Small Things Sometimes Matter
JmsTemplate and DefaultMessageListenerContainer are Spring helpers for accessing JMS compatible MOM. Their main goal is to form a layer above…
Read More » -

JPA: Determining the Owning Side of a Relationship
When using the Java Persistence API (JPA) it is often necessary to create relationships between two entities. These relationships are…
Read More » -

How to Install Gradle
Gradle is a dependency management / build tool that combines the best of Maven and Ant, making it an extremely…
Read More » -

Java API for JSON Processing (JSR-353) – Stream APIs
Java will soon have a standard set of APIs for processing JSON as part of Java EE 7. This standard…
Read More » -

Inadvertent Recursion Protection with Java ThreadLocals
Now here’s a little trick for those of you hacking around with third-party tools, trying to extend them without fully…
Read More »






