Java
-

Spice up your test code with custom assertions
Inspired by the @tkaczanowski talk during GeeCON conference I decided to have a closer look at custom assertions with AssertJ…
Read More » -

JPA 2.1 Type Converter – The better way to persist enums
Persisting enums with JPA 2.0 is possible, but there is no nice way to do it. Using the @Enumerated annotation,…
Read More » -

Java 8 Friday: Better Exceptions
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -

ElasticSearch-Hadoop: Indexing product views count and customer top search query from Hadoop to ElasticSearch
This post covers to use ElasticSearch-Hadoop to read data from Hadoop system and index that in ElasticSearch. The functionality it…
Read More » -

Why use SerialVersionUID inside Serializable class in Java
Serialization and SerialVersionUID is always remains a puzzle for many Java developers. I often see questions like what is this…
Read More » -

See Your Solr Cache Sizes: Eclipse Memory Analyzer
Solr uses different caches to prevent too much IO access and calculations during requests. When indexing doesn’t happen too frequently…
Read More » -

Integration Tests for External Services
Our systems often depend on 3rd party services (They may even be services internal to the company that we have…
Read More » -

Writing Clean Tests – Beware of Magic
It is pretty hard to figure out a good definition for clean code because everyone of us has our own…
Read More » -

Hive: Query customer top search query and product views count using Apache Hive
This post covers to use Apache Hive to query the search clicks data stored under Hadoop. We will take examples…
Read More »





