Core Java
-

Avoiding Many If Blocks For Validation Checking
There are cases that we want to validate input data before we send them to business logic layer for processing, computations…
Read More » -

Keyword extraction and similarity calculation among textual content
Background Web applications are becoming smarter. Gone are the days when to avail a service from a website, user had…
Read More » -

Clean JUnit Throwable-Tests with Java 8 Lambdas
Recently I was involved in a short online discussion on twitter and google+ which concerned the question why the arrival…
Read More » -

JSR 303 loading messages from an I18N property file
Overview This article will illustrate how to adapt the JSR 303 validation API to load messages from an I18n property…
Read More » -

Developing Eclipse plugins
Recently I started working with a team on an Eclipse plugin. The team had developed an awesome plugin that does…
Read More » -

A JUnit Rule to Run a Test in Its Own Thread
Occasionally it would be helpful to be able to run a JUnit test in a separate thread. In particular when…
Read More » -

Template Method Pattern Example Using Java Generics
If you find that a lot of your routines are exactly the same except for certain sections, you might want…
Read More » -

Grouping, sampling and batching – custom collectors in Java 8
Continuing first article, this time we will write some more useful custom collectors: for grouping by given criteria, sampling input, batching…
Read More » -

Java: Determining the status of data import using kill signals
A few weeks ago I was working on the initial import of ~ 60 million bits of data into Neo4j…
Read More »



