Learn how to map the root URL to a page in Spring MVC.
Also find me here:
Baeldung Author
Abhinav Pandey
Senior Java Developer. Certified Azure Developer. Builds microservices for a living using Spring Boot and distributed architecture components like Redis, SQL, Kafka, and RabbitMQ.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (3)
- Spring Boot (2)
- Spring Web (1)
- Spring MVC (1)
- Spring Data (1)
- Spring (1)
- REST (1)
- Logging (1)
- Java (1)
- Docker (1)
RESTful Microservices With RestExpress
Learn how to create a REST API using the open-source RestExpress framework.
Encoding of URI Variables on RestTemplate
Filed under Spring Boot, Spring Web
Learn two methods for encoding URI variables on Spring’s RestTemplate.
Reinitialize Singleton Bean in Spring Context
Filed under Spring
Learn multiple ways to reinitialize singleton Spring beans at runtime.
Mocking a Singleton With Mockito
Filed under Testing
Learn a few ways to write unit tests for singletons using Mockito.
JUnit – Testing Methods That Call System.exit()
Filed under Testing
Learn techniques for testing methods that call System.exit() when using JUnit.
Log4j2 – Logging to Both File and Console
Filed under Logging
Explore how to log messages to both file and console using the Apache Log4j2 library.
Spring Boot – Testing Redis With Testcontainers
Filed under Spring Boot, Testing
Learn how to use Testcontainers while testing a Spring Boot application that uses Redis.
Spring Data JPA – Run an App Without a Database
Filed under Spring Data
Learn how to start a Spring Boot application without having a running database when using Spring Data JPA.
Docker Registry API – Listing Images and Tags
Filed under Docker
Learn how to use the Docker Registry API to list images and tags in a remote registry.