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 » -
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 » -
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 » -
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 » -
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 » -
ActiveMQ Message Priorities: How it works
There’s usually a steady drip of questions on the mailing list surrounding ActiveMQ’s message-priority support as well as good questions…
Read More » -
Multipart Upload on S3 with jclouds
1. Goal In the previous article, we looked at how we can use the generic Blob APIs from jclouds to…
Read More »