Spring Boot

Exposing Metrics of a Spring Boot Application for Prometheus

Monitoring is an important quality requirement for applications that claim to be production-ready. In a previous blog post I discussed how to expose metrics of your Spring Boot application with the help of the Dropwizard Metrics library.

Read more

Exposing Metrics of a Spring Boot Application using Dropwizard

How do we know if an application we just put into production is working as it should? How do we know that the application can cope with the number of users and is not slowing down to a crawl?

Read more

Loading External Application Properties in the Gradle bootRun Task

The Spring Boot gradle plugin provides the bootRun task that allows a developer to start the application in a “developer mode” without first building a JAR file and then starting this JAR file.

Read more

Documenting your REST API with Spring Rest Docs

The first impression counts. When you’re developing an API of any kind, chances are that the first impression is gained from a look into the API docs.

Read more

‘Code First’ API Documentation with Springdoc and Spring Boot

When following a “code first” approach in API development, we first start with writing code, and then we generate the API specification from the code, which then becomes the documentation.

Read more

Marrying Vue.js and Thymeleaf: Embedding Javascript Components in Server-Side Templates

In the good old days, we implemented web applications with a server-side web framework. The browser sends a request to the server, the server processes the request and answers with HTML, the browser renders that HTML.

Read more