-
Enterprise Java
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 » -
Core Java
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 » -
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 » -
Software Development
War Games, Pair Testing and Other Fun Ways to Find Bugs
I’ve already examined how important good testing is to the health of a project, a product and an organization. There’s…
Read More » -
Enterprise Java
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 » -
Enterprise Java
Java EE CDI bean scopes
Contexts and Dependency Injection (CDI) for the Java EE platform is a feature that helps to bind together the web…
Read More » -
Enterprise Java
Spring MVC Session Tutorial
Session management is one of essential parts for each web application. Since Spring MVC is a powerfull framework for a…
Read More » -
Enterprise Java
JPA – Hibernate – Type mapping on package level
When we are finally mature enough to use some custom types mapping in JPA, we usually stuck with some provider…
Read More » -
Groovy
Detecting Java Threads in Deadlock with Groovy and JMX
Unfortunately, Java applications taking advantage of multiple threads can at times run into the dreaded deadlock condition. Fortunately, the Java…
Read More »