Explore Java’s latest enhancement, Context-Specific Deserialization Filter (JEP 415), in action.
By day, I write new code, I improve bad code, and I try to enforce performance standards. Mostly in Java. I also love automating stuff. Mostly in bash. By night, I write technical articles and write tools for personal management. For fun: I'm a Street Fighter player (3rd Strike and V), trying to learn Japanese.
Here's what I've written (so far):
Baeldung on Java
- Spring Data (6)
- NoSQL (4)
- Java (4)
- Spring (2)
- REST (1)
- Programming (1)
- Persistence (1)
- Java Web (1)
- Java Map (1)
- Java Dates (1)
- JSON (1)
- HTTP Client-Side (1)
A quick and practical guide to MongoDB Atlas search with Spring Data.
Explore common causes like incorrect library names, missing directory specifications, and incompatible architectures. Implement solutions such as setting java.library.path and using proper classloaders to resolve this error effectively.
A practical guide to field-level encryption with MongoDB.
In this tutorial, we explore Java libraries for extracting tar archives: Apache Commons Compression, Apache Ant, and Apache VFS. The article provides concise code snippets and highlights the key features of each approach. Read on to learn efficient ways of extracting tar archives in Java.
This is a short tutorial about how to stream a large file to a file using a DataBuffer and what’s the role of ExchangeStrategies in WebClient.
Learn how to access MBeans from a shell script.
Learn how to insert HashMap into MongoDB.
Learn various ways of limiting the request per second of a web client.
Learn how to generate unique random numbers efficiently.
Learn how to transform UNIX time to Date depending on the Java version.
How to read JSON from a URL using core java libraries and third-party libraries.
Different ways of setting up a MongoDB connection.
Different ways of counting documents using Spring Data MongoDB.
Different ways to create unique fields via indexes with Spring Data.
Simple and compound index, generated and custom ids in MongoDB exemplified by a Spring Data Mongo application.
Learn how to configure MongoDB collection names for classes using Spring Data.
Explore many ways we can handle exceptions using Jersey.