Category Archives for Architecture

Onion Architecture is Interesting

After Layered and Hexagonal architectures, the time has come to talk about their close cousin – the Onion Architecture initially introduced in a series of posts by Jeffrey Palermo. What is Onion

Continue reading

Bind Your Contexts, Don’t Hurt Them!

This article is a response to a comment under one of my previous ones – Layered Architecture Is Good. The comment says: Domain driven design does not conflict with layered architecture! The first

Continue reading

Hexagonal Architecture is Powerful

Continuing our journey through various architectural styles, we’re now headed for the Hexagonal Architecture, also known as Ports and Adapters. What is Hexagonal Architecture? Hexagonal Architecture

Continue reading

Layered Architecture Is Good

Darek, the guy who reviews almost all Tidy Java posts before they are published, suggested that I could do a series on implementing different architectural styles, their pros, cons etc. I decided to give

Continue reading

Framework Coupling Revisited

The first post that ever appeared on this blog was named “Framework Coupling”. In the post, I laid out a vision of evil frameworks that will destroy your project, your company, your career

Continue reading

Reusable Components in Java

I can’t name exact sources, but I feel like ever since I started learning how to program, I was reading tales and legends about “reusable” components, modules and so on. It was not until

Continue reading

Refactoring to Components

Imagine you’re assigned to work with an old codebase without a reasonable component structure or any structure at all. A big ball of mud! What now?! How do you get from there to nice, reusable components

Continue reading

Package Structure

Packaging is one of the underrated features of Java. We use common sense to put things here and there, after some time everybody knows where certain things go and nobody cares any more. Well, as long as

Continue reading