-
Software Development
Custom Git subcommands
Heavy users of Git often find themselves writing their own Git shortcuts or scripts which combine multiple Git commands for…
Read More » -
Core Java
Strategy Pattern with CDI and lambdas
The strategy design pattern dynamically chooses an implementation algorithm, a strategy, at runtime. The pattern can be used to select…
Read More » -
Core Java
Java code style operator new line formatting
Last week, I discovered what helped me deciding on what I have struggled with for a longer time: whether to…
Read More » -
Enterprise Java
PostgreSQL on Open Liberty
Open Liberty is an interesting new OSS Java EE application server that originated from WebSphere Liberty. You can configure Open…
Read More » -
Core Java
EnumSet for enum collections
In the last blog post we discovered EnumMaps for mappings with enum keys. You might have observed that there is…
Read More » -
Core Java
Mapping enum keys with EnumMaps
Here’s a type that has been around in the JDK for a while and that comes in handy when we…
Read More » -
Enterprise Java
Transactional exception handling in CDI
In Java EE, exceptions that are raised during the execution of a transactional business method cause the transaction to rollback.…
Read More » -
Core Java
Write custom AssertJ assertions
AssertJ is an alternative matching library to the widely used Hamcrest matchers. For my own projects I in fact have…
Read More » -
Enterprise Java
Caching method results with JCache
In JCache there is a handy functionality that transparently caches the result of methods. You can annotate methods of managed…
Read More »