-
Spring Boot Profiles example
In this article, we will show you how to use @Profile in Spring Boot and also how to test it.
Date: 2019-08-11 View: 1520
-
Spring Boot Profile based properties and yaml example
In Spring Boot, it picks .properties or .yaml files in the following sequences :
Date: 2019-08-11 View: 1520
-
Spring Boot Tutorials
Spring Boot makes it quick and easy to create a Spring based applications.
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Data + Elasticsearch example
In this article, we will discuss about “How to create a Spring Boot + Spring Data + Elasticsearch Example”.
Date: 2019-08-11 View: 1520
-
Spring MVC How to get client IP address
In Spring framework, you can @Autowired a HttpServletRequest in any Spring managed bean directly, and later get the client’s IP address from the request headers
Date: 2019-08-11 View: 1520
-
Spring Boot Hello World Example Mustache
A Spring Boot web application example, using embedded Tomcat + Mustache template engine, and package as an executable JAR file.
Date: 2019-08-11 View: 1520
-
Spring Boot and Mustache default value
In Spring Boot + Mustache template environment, if we didn’t assign a value to a {{variable}} on the Mustache’s page, the jmustache will throws the following error messages :
Date: 2019-08-11 View: 1520
-
Spring Boot + Spring Security + Thymeleaf example
A Spring Boot Thymeleaf example, uses Spring Security to protect path /admin and /user
Date: 2019-08-11 View: 1520
-
Spring Boot + Hibernate Search example
Here we will create a Spring Boot web application example with Hibernate Search + Thymeleaf template engine, and deploy it as a WAR to Wildfly 10.1.
Date: 2019-08-11 View: 1520
-
Spring Boot WebFlux + Thymeleaf reactive example
In this article, we will show you how to develop a reactive web application.
Date: 2019-08-11 View: 1520
-
Spring Boot WebFlux + Server-sent events example
In this article, we will show you how to develop a reactive web application, using Server-sent events
Date: 2019-08-11 View: 1520
-
Spring Boot + JUnit 5 + Mockito
In this article, we will show you how to do Spring Boot 2 integration test with JUnit 5, and also Mockito.
Date: 2019-08-11 View: 1520
-
Mockito when() requires an argument which has to be a method call on a mock
Run the following Spring Boot + JUnit 5 + Mockito integration test.
Date: 2019-08-11 View: 1520
-
Spring REST Hello World Example
In this article, we will show you how to develop a Spring Boot REST style web service to handle CRUD operations from a H2 In-memory database.
Date: 2019-08-11 View: 1520
-
Spring REST Validation Example
In this article, we will enhance the previous Spring REST Hello World example, by adding bean validation and custom validator.
Date: 2019-08-11 View: 1520