Discover the new repository interfaces introduced in Spring Data 3.
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 (5)
- Spring Data (5)
- Spring Boot (5)
- Spring (4)
- Jackson (4)
- Spring Security (2)
- Spring Cloud (2)
- REST (2)
- DevOps (2)
- XML (1)
- Web Services (1)
- Spring Web (1)
- Spring MVC (1)
- Reactive (1)
- NoSQL (1)
- Logging (1)
- Java IO (1)
- Java Dates (1)
- Java Concurrency (1)
- Java (1)
- JSON (1)
- JPA (1)
- HTTP Client-Side (1)
- Artificial Intelligence (1)
Cassandra – Object Mapping with DataStax Java Driver
Filed under NoSQL, Spring Data
There are a few ways to map objects and operations to Cassandra. We look at how to use the DataStax driver to achieve object mapping, queries and native functions.
Spring MVC – Mapping the Root URL to a Page
Filed under Spring MVC
Learn how to map the root URL to a page in Spring MVC.
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.
Baeldung on Kotlin
- All
- Spring (2)
- Libraries (2)
- Patterns (1)
- Kotlin (1)
- HTTP Client-Side (1)
PubSub Messaging With Kotlin Redis
Filed under Libraries
A quick tutorial on messaging with Redis in Kotlin.
API Versioning With Kotlin and Spring Boot
Filed under Spring
Learn how to implement API versioning in a Spring Boot application using Kotlin.
equals() and hashCode() Generator in Kotlin
Filed under Kotlin
Explore how the equals() and hashCode() methods are generated for Kotlin’s data classes.
Strategy Design Pattern in Kotlin
Filed under Patterns
Explore the Strategy design pattern in Kotlin and understand the problem that the pattern solves.
RestTemplate Examples in Kotlin
Filed under HTTP Client-Side, Spring
Learn various methods provided by the RestTemplate class to make HTTP requests in Kotlin.
Mapstruct With Kotlin’s Data Classes
Filed under Libraries
Learn how to use Mapstruct to create mappings between data classes in Kotlin.
Baeldung on Ops
- All
- Docker (3)
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.
Docker – Removing Dangling and Unused Images
Filed under Docker
Learn why dangling and unused images are common in Docker.
Running Docker Containers Indefinitely
Filed under Docker
A brief explanation about entrypoint and cmd to understand when a container terminates and how we can prevent it.
Baeldung on SQL
- All
- DML (1)
Insert Into a SQL Table or Update if the Row Exists
Filed under DML
Explore inserting a row into a SQL table or updating the row if it already exists.