-
Enterprise Java
Skip SSL certificate verification in Spring Rest Template
How to skip SSL certificate verification while using Spring Rest Template? Configure Rest Template so it uses Http Client to…
Read More » -
Enterprise Java
Spring MVC 4 Quickstart Maven Archetype Improved – More Java 8 Features
For all those developers interested in bootstrapping Spring 4 application quickly without Spring Boot, please check my Spring MVC 4…
Read More » -
Enterprise Java
5 reasons why you should consider upgrading your applications to Spring 4
Firstly released in 2004, Spring Framework is among top Java frameworks. Spring 4 has been released in December 2013 and…
Read More » -
Enterprise Java
HOW-TO: Register components using @Conditional and Condition in Spring
@Profile annotation in Spring can be used on any Spring components (e.g. @Component, @Service, @Configuration etc.) that are candidates for…
Read More » -
Enterprise Java
HOW-TO: Java 8 Date & Time with Thymeleaf and Spring Boot
If you happen to work with Spring Boot and Thymeleaf and you need to format Java 8 Date & Time…
Read More » -
Enterprise Java
Placeholders support in Value annotations in Spring
${...} placeholders in @Value annotation are used to access properties registered with @PropertySource. This is extremely useful with @Configuration beans…
Read More » -
Core Java
AssertJ’s SoftAssertions – do we need them?
One of the rules of writing good unit test is that it should fail for one reason, so unit test…
Read More » -
Enterprise Java
Override Spring Framework version in Spring Boot application built with Gradle
If you want to use or just check the newest version of Spring with Spring Boot but the current Spring…
Read More » -
Enterprise Java
Parameterized integration tests with Spring JUnit Rules
Spring 4.2 comes with brand new JUnit rules: SpringClassRule and SpringMethodRule. The main advantage of using JUnit rules is to…
Read More »