Oliver Drotbohm Archive About Tags

Spring RESTBucks in 2021

April 14th, 2021 - Permalink

The RESTBucks sample project has served as showcase for various Spring related technologies in the context of building a hypermedia based API implementing a high-level business process for almost a decade. It has evolved significantly since then and – in the last couple of months – accumulated quite a batch of changes. I think that it’s worthwhile to have a look at them and how new libraries, specs, and their integration into Spring projects shape the sample.

… continue reading.

Architecturally evident code with jMolecules

February 22nd, 2021 - Permalink

Expressing architectural concepts in code often stops at naming conventions and technologies implicitly describing these concepts. jMolecules provides annotations and types to describe architectural context and technology specific integration to derive concept specific default mappings and boilerplate code to minimize the gap between architectural idea and the code written to implement those.

… continue reading.

Implementing DDD Building Blocks in Java

March 17th, 2020 - Permalink

When it comes to implementing building blocks of DDD, developers often struggle to find a good balance between conceptual purity and technical pragmatism. In this article I’m going to discuss an experimental idea to express some of tactical design concepts of DDD in Java code and derive the metadata to e.g. implement persistence without polluting the domain model with annotations on the one hand and an additional mapping layer on the other.

… continue reading.

Evolving Distributed Systems

October 9th, 2016 - Permalink

I’ve recently been pulled into a discussion about the effect of contracts in distributed systems both technically and regarding team communication. As usual, 140 characters are quite a limitation for reasonable discussion I thought I’d summarize my ideas here.

… continue reading.

The Benefits of Hypermedia APIs

April 29th, 2016 - Permalink

Recently, I stumbled over a blog post by Jonathan Channon explaining how he got to realize that hypermedia APIs are not some magical thing but rather a pragmatic approach to reduce coupling between services. Also, I’ve been traveling conferences with a talk on Domain-Driven Design and REST recently that covers the aspect of hypermedia as well and features an — as I think — rather nice example of how effective hypermedia can be when building distributed systems. I’ll come back to the example in a bit but let’s start with some fundamentals.

… continue reading.