Enterprise Java
-
Analysing the performance degradation/improvements of a Java EE application with interceptors
When you are developing a Java EE application with certain performance requirements, you have to verify that these requirements are…
Read More » -
Monitoring and Filtering Application Log to Mail with log4j
In today’s post I’m going to show you how to filter log statements into a warning email. This came out…
Read More » -
The anatomy of Hibernate dirty checking
Introduction The persistence context enqueues entity state transitions that get translated to database statements upon flushing. For managed entities, Hibernate…
Read More » -
JPA Tutorial – Setting Up JPA in a Java SE Environment
JPA stands for Java Persistence API, which basically is a specification that describes a way to persist data into a persistent storage,…
Read More » -
URL shortener service in 42 lines of code in… Java (?!) Spring Boot + Redis
Apparently writing a URL shortener service is the new “Hello, world!” in the IoT/microservice/era world. It all started with A…
Read More » -
Clustered Idempotent Consumer Pattern with Infinispan
I’ve created a small project that shows how to use JBoss Infinispan with Apache Camel and the Idempotent Consumer Pattern…
Read More » -
The dark side of Hibernate AUTO flush
Introduction Now that I described the the basics of JPA and Hibernate flush strategies, I can continue unraveling the surprising…
Read More » -
Validation groups in Spring MVC
Validation constraints in Bean Validation may be added to one or more groups via groups attribute. This allows you to…
Read More » -
Upgrading Spring 3.x and Hibernate 3.x to Spring Platform 1.0.1 (Spring + hibernate 4.x)
I recent volunteered to upgrade our newest project to the latest version of Spring Platform. What Spring Platform gives you…
Read More »