O&B Insights: #java

Transformative Ideas for Leaders in the Fourth Industrial Revolution

Featured image for “JPA Pitfalls / Mistakes”

Article

JPA Pitfalls / Mistakes

September 13, 2016 - Learn the common pitfalls/mistakes encountered that caused some problems in Java-based systems that use JPA. From my experience, both in helping teams and conducting training,...
Featured image for “Spring-managed Transactions Explained – Part 1 (JDBC)”

Article

Spring-managed Transactions Explained – Part 1 (JDBC)

September 13, 2016 - Learn how transactions work in plain-vanilla JDBC and how Spring manages JDBC-based transactions. I’ve been meaning to write about this for quite some time now....
Featured image for “Blob Handling in Java and JDBC”

Article

Blob Handling in Java and JDBC

October 5, 2015 - Lorenzo simplifies BLOB handling. Read on to find out how. Whenever I search the web for storing and retrieving BLOBs to and from a database,...
Featured image for “Domain-Driven Design: Cargo Shipping Example (Part 2)”

Article

Domain-Driven Design: Cargo Shipping Example (Part 2)

September 30, 2014 - Lorenzo continues the discussion on DDD, this time with a focus on persistence of value objects. One of my colleagues asked an interesting question about my...
Featured image for “Domain-Driven Design: Cargo Shipping Example”

Article

Domain-Driven Design: Cargo Shipping Example

September 14, 2014 - Lorenzo discusses DDD using a cargo shipping scenario. I’ve always found the cargo shipping example used in Eric Evan’s book to be quite useful in learning DDD. Here are some...
Featured image for “Mapping a Map in JPA”

Article

Mapping a Map in JPA

July 14, 2014 - It’s common to see a java.util.List being used for a to-many mapping (with ORM). And it’s also common to need to get an element in that list using some...
Featured image for “Quantifying Domain Model versus Transaction Script”

Article

Quantifying Domain Model versus Transaction Script

July 1, 2014 - I’ve been conducting training classes (with Orange and Bronze) that cover topics like TDD, design patterns (GoF), patterns of enterprise application architecture (based on PoEAA book...
Featured image for “Gaining Domain Knowledge of ISO-8583 Messages”

Article

Gaining Domain Knowledge of ISO-8583 Messages

February 22, 2014 - Let’s talk about how we improved code readability and gained domain knowledge in creating ISO 8583 messages in jPOS. At first, we were writing code like this. And...
Featured image for “TDD is a Great Way to Pick-Up Where You Left Off”

Article

TDD is a Great Way to Pick-Up Where You Left Off

February 10, 2014 - I just realized that TDD is a great way to pick up where you left off when you have distractions. There’s a lot of articles...
Featured image for “Arrays.asList() – Why You Should Wrap It”

Article

Arrays.asList() – Why You Should Wrap It

August 13, 2013 - Ria shows us why you should wrap a list inside a list implementation if you’re planning to modify it. I was trying to get the...