Setup OpenShift on Windows

Red Hat OpenShift is a container application platform that brings docker and Kubernetes to the enterprise. You can think of OpenShift as an operating system, images as applications that you...
Andreas Günzel
Andreas Günzel
comment icon 07.14.2018

Mocking framework comparison: JMockit

JMockit is an open source framework including APIs for mocking, faking, and integration testing. It is licensed under the MIT License. The first stable release dates back to 2012; the...
Andreas Günzel
Andreas Günzel
comment icon 0 05.23.2017

JSON-B is coming

Java EE & JSON For years, I have been working with Java EE in combination with REST services. Vast majority of REST services today use JSON as data format. However,...
Andreas Günzel
Andreas Günzel
comment icon 0 02.17.2017

Mocking framework comparison: Mockito

Unit testing is essential to produce good software. In consequence, I would claim that any Java developer knows (and uses) JUnit. As a unit test is intended to cover only...
Andreas Günzel
Andreas Günzel
comment icon 0 08.10.2016

Fighting the Transaction Reaper

Long running transactions might be killed by the App Server's Transaction Reaper. I have implemented a litte helper to programmatic handle such kinds of exceptions. The problem: Timed out translations...
Andreas Günzel
Andreas Günzel
comment icon 0 05.31.2016

Intermediate commit within transaction

Imagine following situation: We have a service that polls the database for entities in a certain state, for example new. The found entities are passed to a worker that executes...
Andreas Günzel
Andreas Günzel
comment icon 0 05.19.2016

JAX 2016: Tuesday Close-up

Last year’s JAX was clearly stamped by the buzzword Microservice. For me, the term microservice was even more present today. Okay, Tuesday was marked as “MICROSERVICES DAY”. However, no attendee...
Andreas Günzel
Andreas Günzel
comment icon 1 04.19.2016

How to unit test hazelcast

Recently I used hazelcast in several projects. Especially in an Application Server environment using the hazelcast JCA connector it is pretty easy to use hazelcast with only a few lines...
Andreas Günzel
Andreas Günzel
comment icon 0 03.31.2016

Dynamically resolve Hibernate database dialect

When using Hibernate as JPA provider you need to tell the JEE application which database vendor you are using. The classic approach is to set the property hibernate.dialect as shown...
Andreas Günzel
Andreas Günzel
comment icon 2 03.23.2016