-
Enterprise Java
Remote debugging Wildfly application in IntelliJ
Remote debugging a Java application means connecting to the remotely running application using your local development environment. Java supports remote…
Read More » -
Core Java
Cleaner parameterized tests with JUnit 5
The general idea of parameterized unit tests is to run the same test method for different data. Creating parameterized tests…
Read More » -
Core Java
Testing exceptions with JUnit 5
JUnit 5 brought pretty awesome improvements and it differs a lot from its predecessor. JUnit 5 requires Java 8 at…
Read More » -
Enterprise Java
Spring Boot and Security Events with Actuator
Spring Boot Actuator provides auditing capabilities for publishing and listening to security related events in a Spring Boot application with…
Read More » -
Enterprise Java
Spring Boot – Configure Log Level in runtime using actuator endpoint
As of Spring Boot 1.5 a new loggers actuator endpoint allows viewing and changing application logging levels in runtime. Add…
Read More » -
Enterprise Java
Spring Boot and Thymeleaf: Reload templates and static resources without restarting the application
Thymeleaf was designed around the concept of Natural Templates that allows static prototyping: template logic doesn’t affect the template from…
Read More » -
Enterprise Java
Injecting authenticated user into Spring MVC @Controllers
Injecting injecting authenticated user into Spring MVC handler method can be done with @AuthenticationPrincipal annotation and AuthenticationPrincipalArgumentResolver that is an…
Read More » -
Enterprise Java
Thymeleaf 3 – Get Started Quickly with Thymeleaf 3 and Spring MVC
Thymeleaf 3 release arrived. The new version brings plenty of new features like HTML5 support as well as Text templates…
Read More » -
Enterprise Java
Spring MVC: Trgger manual validation of a form object
Sometimes it may be needed to use manual validation in Spring MVC @Controller. This is very simple with Spring’s org.springframework.validation.ValidationUtils…
Read More »