Enterprise Java
-
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 » -
EJB 3.x : Lifecycle and Concurrency models (part 1)
Java EE component life cycle and concurrency related details might not be new for seasoned professionals, but it is something which…
Read More » -
OSGi: the gateway into micro-services architecture
The terms “modularity” and “microservices architecture” pop up quite often these days in context of building scalable, reliable distributed systems.…
Read More »