Overview In this quick tutorial, I will show you how to configure Spring logging to Elasticsearch so you can search, visualize and do many useful things with your log. Things […]
Overview There are times you need to do some start-up work when your Spring application launch. One of the methods is to use the CommandlineRunner interface. In this post, I’m […]
Overview In this post, I will show you how you can quickly test the email-sending function of your application using MailHog. The application I’m demonstrating is a Spring Boot web […]
With Spring AOP, you can simply use the @Transactional annotation to handle transactions in your app.
In this post, I’m going to quickly show you how to configure data sources in Spring applications.
Overview In the first post of this series, I briefly discussed the problem with multiple database operations and the need for using transaction management. In the last post, I also […]