O&B Insights: #java

Transformative Ideas for Leaders in the Fourth Industrial Revolution

Featured image for “Changing The Way We Use JPA”

Article

Changing The Way We Use JPA

June 24, 2021 - I’ve been updating some training materials recently, and thinking about better ways of teaching and talking about JPA. One of the things I’ve been thinking...
Featured image for “Template Method Pattern Example Using Java Generics”

Article

Template Method Pattern Example Using Java Generics

April 29, 2021 - A tutorial on how to use the Template Method to eliminate error-prone code duplication. If you find that a lot of your routines are exactly...
Featured image for “AWS Certification Story Part2”

Article

AWS Certification Story Part2

March 18, 2021 - Hello everyone! In my previous blog post, I basically wrote a small primer on Cloud Computing. In this post, I’ll go a little deeper into the...
Featured image for “AWS Certification Story Part1”

Article

AWS Certification Story Part1

March 4, 2021 - The following post is based on the talk I did for one of our weekly S.K.I.L.L (Skill or Knowledge I’ve Learned Lately) learning sessions. Part 1 is...
Featured image for “Reduce Repetitive Code in Spring MVC Controllers”

Article

Reduce Repetitive Code in Spring MVC Controllers

September 17, 2020 - After spending some time doing sustained engineering (a.k.a. maintaining legacy code), I ventured to reduce repetitive code in Spring MVC @Controllers. I started with an abstract...
Featured image for “JasperReports: The Tricky Parts”

Article

JasperReports: The Tricky Parts

February 27, 2018 - If you have been programming in Java long enough, chances are you needed to generate reports for business users. In my case, I’ve seen several...
Featured image for “DataSource Routing with Spring @Transactional”

Article

DataSource Routing with Spring @Transactional

February 13, 2018 - I was inspired by Carl Papa’s use of aspects with the Spring Framework to determine the DataSource to use (either read-write or read-only). So, I’m writing this...
Featured image for “How not to use Java 8 Streams”

Article

How not to use Java 8 Streams

January 24, 2018 - Now (it’s been years) that Java has gotten functional programming syntax, it can be pretty easy to get carried away and use it unnecessarily. Take...
Featured image for “Isolating the Domain Logic”

Article

Isolating the Domain Logic

January 4, 2017 - Lorenzo explains the reason why code in applications is arranged and split in a certain way, and provides tips for arranging your application. In one...
Featured image for “Architectural Layers and Modeling Domain Logic”

Article

Architectural Layers and Modeling Domain Logic

November 14, 2016 - Lorenzo corrects the impression that the domain model pattern is always the best to use. He provides options and tips on when to use (and...