Spring 5

Spring HATEOAS – Pagination links

Last Updated:

Learn to build automatic pagination links (next, prev) in spring boot hateaos application using PagedModel and PagedResourcesAssembler classes.

Spring HATEOAS – Embedded collection model name

Last Updated:

Spring Hateoas, by default, produces JSON containing collection names as classNameList format. We can customize the name generated for embedded collection model using @Relation tag. …

Spring HATEOAS Tutorial

Last Updated:

Learn to build hateoas links for REST resources using RepresentationModel and RepresentationModelAssemblerSupport in a Spring boot application example.

Spring Security 5 Login Form Example

Last Updated:

Spring security 5 login form example. Add login form based security to our Spring WebMVC application. Spring 5 @EnableWebSecurity example.

Spring Security 5 – Java Config

Last Updated:

Java example to enable spring security java configuration with the help of @EnableWebSecurity annotation and WebSecurityConfigurerAdapter class. This example is built on top of spring …

Spring – @Lazy Loading

Last Updated:

Learn to lazy load spring beans using xml config as well as java config. Later requires using @Lazy annotation at bean definition and @Autowired dependency.

Spring beans using annotation configuration

Last Updated:

Learn to create spring beans using java annotation configuration. 1. Annotation config with component scanning 2. Using @Bean and @Configuration annotations

Spring bean – XML config

Last Updated:

Learn to create define and create spring beans and populate application context in any spring application. This example uses xml config to define beans,

Spring – @GetMapping and @PostMapping

Last Updated:

Learn to create Spring MVC controllers and map requests with request mapping annotations e.g. @RequestMapping, @GetMapping, @PostMapping, @PutMapping, @DeleteMapping and @PatchMapping.

Spring 5 MVC + Hibernate 5 Example

Last Updated:

In this Spring5 tutorial, learn to create Spring 5 MVC web application, handle form submission, integrate hibernate to connect to backend database and adding hibernate validator for input form fields validation.

Spring 5 New Features and Enhancements

Last Updated:

Spring 5 is the first major release, almost four years after Spring Framework 4.0. Lets quickly go through some exciting features coming in Spring 5.0.

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.