Spring Boot
Multitenancy Applications with Spring Boot and Flyway
Multitenancy applications allow different customers to work with the same application without seeing each other’s data. That means we have to set up a separate data store for each tenant.
Read moreOne-Stop Guide to Profiles with Spring Boot
Spring provides a mighty tool for grouping configuration properties into so-called profiles, allowing us to activate a bunch of configurations with a single profile parameter.
Read moreExecuting Code on Spring Boot Application Startup
Sometimes we just need to run a snippet of code on application startup, be it only to log that a certain bean has loaded or the application is ready to process requests.
Read moreStatic Data with Spring Boot
Sometimes we need some structured, static data in our application. Perhaps the static data is a workaround until we have built the full feature that stores the data in the database and allows users to maintain the data themselves.
Read moreHexagonal Architecture with Java and Spring
The term “Hexagonal Architecture” has been around for a long time. Long enough that the primary source on this topic has been offline for a while and has only recently been rescued from the archives.
Read moreMocking with (and without) Spring Boot
Mockito is a very popular library to support testing. It allows us to replace real objects with “mocks”, i.e. with objects that are not the real thing and whose behavior we can control within our test.
Read more