Java
-

Rx-netty and Karyon2 based cloud ready microservice
Netflix Karyon provides a clean framework for creating cloud-ready micro-services. In your organization if you use the Netflix OSS stack…
Read More » -

We’re Taking Bets: This Annotation Will Soon Show up in the JDK
This recent Stack Overflow question by Yahor has intrigued me: How to ensure at Java 8 compile time that a…
Read More » -

Is Getter DI A Good Idea?
Sometimes, you may hear about dependency injection done via a getter method, which subclasses override or mock frameworks fake for…
Read More » -

JSP Tutorial – The ULTIMATE Guide
EDITORIAL NOTE: JavaServer Pages (JSP) technology allows you to easily create web content that has both static and dynamic components.…
Read More » -

Transforming Collections
Did you ever want to substitute the equals and hashCode methods a HashSet or HashMap uses? Or have a List…
Read More » -

Type Safe Queries for JPA’s Native Query API
When you’re using JPA – sometimes – JPQL won’t do the trick and you’ll have to resort to native SQL.…
Read More » -

A Few Thoughts on Unit Test Scaffolding
When I start to repeat myself in unit test methods by creating the same objects and preparing the data to…
Read More » -

Puzzler: nested computeIfAbsent
Overview The Java 8 libraries have a new method on map, computeIfAbsent. This is very useful way to turn your…
Read More » -

How does Hibernate READ_WRITE CacheConcurrencyStrategy work
Introduction In my previous post, I introduced the NONSTRICT_READ_WRITE second-level cache concurrency mechanism. In this article, I am going to…
Read More »


