Category: Spring

The Need for Spring Boot Docker Layers If you follow my work, you know I’m a big fan of using Docker. As a software engineer at Velo Payments, I use Docker on a daily basis. Our architecture is primarily Spring Boot Microservices, deployed in Docker containers. This architecture gives us a tremendous amount of flexibility […]Continue reading

When you start a Spring application, the Spring Framework creates beans for you. These Spring beans can be application beans that you have defined or beans that are part of the framework. When the Spring Framework creates a bean, it associates a scope with the bean. A scope defines the runtime context within which the […]Continue reading

A common question I get is “What is the best UI to use with a Spring Boot?” UIs, also known as “User Interfaces” come in many different flavors. The UI application might be a desktop application writing in Java Swing, FX, or some other technology. The UI application could also be a mobile application written […]Continue reading

Should I Use Spring REST Docs or OpenAPI? Recently, I was asked which is better to use. Spring REST Docs or OpenAPI. From the perspective of generating documentation for your APIs, you may think these two options are effectively the same thing. But, it’s not exactly an apples to apples comparison. These are significantly different […]Continue reading

Project Lombok is a Java library tool that generates code for minimizing boilerplate code. The library replaces boilerplate code with easy-to-use annotations. For example, by adding a couple of annotations, you can get rid of a lot of cerimonial code, such as getters and setters methods, constructors, hashcode, equals, and toString methods, and so on. […]Continue reading

Introduction In this post, we are going to write about Project Lombok, a must-have tool for every Spring programmer. Lombok is a Java library, that enhances programmer productivity, by providing several helpful annotations. It makes classes shorter and frees programmers from writing much boilerplate code. After reading this tutorial, we will be able to setup […]Continue reading

The Spring IoC (Inversion of Control) container manages Spring beans. A “Spring bean” is just a Spring managed instantiation of a Java class. The Spring IoC container is responsible for instantiating, initializing, and wiring beans. The container also manages the life cycle of beans. Spring provides several ways through which you can tap into the […]Continue reading