-
An Introduction to Kernel Live Patching on Linux
Live patching is slowly catching on, but not for the reasons you might think.
Date: 2019-08-11 View: 1341
-
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: 1491
-
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: 1324
-
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: 1528
-
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: 4532
-
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: 1219
-
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: 1095
-
Spring Boot Test unable to autowired MockMvc
Spring Boot integeration test, but unable to @Autowired MockMvc
Date: 2019-08-11 View: 1619
-
Spring Security There is no PasswordEncoder mapped for the id null
Send a GET request with username and password, but hits the password encoder error?
Date: 2019-08-11 View: 2054
-
Spring REST + Spring Security Example
In this article, we will enhance the previous Spring REST Validation Example, by adding Spring Security to perform authentication and authorization for the requested URLs (REST API endpoints)
Date: 2019-08-11 View: 1342
-
JSONAssert How to unit test JSON data
In Java, we can use JSONAssert to unit test JSON data easily.
Date: 2019-08-11 View: 2191
-
Spring REST Error Handling Example
In this article, we will show you error handling in Spring Boot REST application.
Date: 2019-08-11 View: 1891
-
Mockito How to mock repository findById thenReturn() Optional?
Try to mock a repository findById method, but no idea use thenReturn() to return an object, as it accepts an Optional?
Date: 2019-08-11 View: 2514
-
Java How to compare String
In Java, we use equals() to compare String.
Date: 2019-08-11 View: 1290
-
Spring Boot How to init a Bean for testing?
In Spring Boot, we can create a @TestConfiguration class to initialize some beans for testing class only.
Date: 2019-08-11 View: 1282