-
Core Java
Isolating the Domain Logic
In one design patterns class, I had an interesting discussion about modelling domain logic. Specifically, it was about isolating the…
Read More » -
Enterprise Java
Architectural Layers and Modeling Domain Logic
As I was discussing the PoEAA patterns used to model domain logic (i.e. transaction script, table module, domain model), I…
Read More » -
Enterprise Java
One-shot Delete with Hibernate (JPA)
In older versions of Hibernate, I can see the one-shot delete indicated in the manual. But newer versions no longer…
Read More » -
Enterprise Java
Reference by Identity in JPA
In a previous post, I mentioned that I opted to reference other aggregates by their primary key, and not by…
Read More » -
Enterprise Java
Spring-managed Transactions Explained – Part 2 (JPA)
In the first part of the series, I showed how transactions work in plain-vanilla JDBC. And then I showed how…
Read More » -
Enterprise Java
One Thing Good Spring Developers Know
In my recent training sessions on the (core) Spring Framework, I was asked, “If there was one thing that a…
Read More » -
Enterprise Java
JPA Pitfalls / Mistakes
From my experience, both in helping teams and conducting training, here are some pitfalls/mistakes I have encountered that caused some…
Read More »