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 […]
Spring Boot Commandline Runner Tutorial
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 […]
Test Email Sending With MailHog In Spring
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 […]
How To Use @Transactional In Spring Properly
With Spring AOP, you can simply use the @Transactional annotation to handle transactions in your app.
Configure Data Sources in Spring Application
In this post, I’m going to quickly show you how to configure data sources in Spring applications.
Using Transaction With JDBC in Spring
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 […]