Java
-

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 » -

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 » -

Score DRL: faster and easier in OptaPlanner
For OptaPlanner (= Drools Planner) 6.0.0.Beta1, I ‘ve replaced the ConstraintOccurrence with the much more elegant ConstraintMatch system. The result…
Read More »







