← Home
Articles

Technical writing

32 articles on Java, Kotlin, Spring, MongoDB, and backend development.

2026
4 articles
Apr
Tutorial

Discover Your Ideal Airbnb: Implementing a Spring Boot & MongoDB Search With Kotlin Sync Driver

Build an application in Kotlin that utilizes full-text search in a database containing thousands of Airbnb listings to find the perfect accommodation.

KotlinSearch
Foojay.io
Feb
Article

MongoDB Sharding: What to Know Before You Shard

Sharding as a horizontal scaling strategy, understanding a sharded cluster architecture, shards, config servers, mongos, and distributing data.

MongoDBDatabases
Foojay.io
Feb
Guide

MongoDB 8.0 Migration Guide: What You Need to Know Before Upgrading

What's new in version 8.0, general changes, Queryable Encryption, Express query stages, query shape and query settings, compatibility and more.

MongoDBDatabases
Foojay.io
Jan
Tutorial

How to Build Image Similarity Search With Atlas Functions and Triggers

Have you ever imagined taking a photo of yourself, comparing it against a database full of celebrities, and instantly finding out who you look most alike?

FunctionVector SearchTriggersMongoDB
Dev.to
2025
12 articles
Nov
Tutorial

Modeling Relationships With Hibernate ORM and MongoDB

Prerequisites, one-to-many relationships, avoiding embedded inside books, and moving reviews to a separate collection.

HibernateJavaDatabases
Foojay.io
Nov
Tutorial

Getting Started With Hibernate ORM and MongoDB

How MongoDB fits in, prerequisites, tag your Atlas cluster, project overview, setting up the project, configure Hibernate, the Book entity.

HibernateJava
Foojay.io
Nov
Part 3

Beyond Keywords: Hybrid Search with Atlas and Vector Search (Part 3)

One search might not be enough. Merging the best of both worlds: prerequisites, project setup, full-text search, implementing the full-text index.

Atlas SearchAI
Foojay.io
Oct
Part 2

Beyond Keywords: Optimizing Vector Search With Filters and Caching (Part 2)

Adding filters from story to code, post-filter in MovieService, pre-filter approach, refining the search with extra filters and applying toCriteria.

Vector SearchJavaAI
Foojay.io
Oct
Part 1

Beyond Keywords: Implementing Semantic Search in Java With Spring Data (Part 1)

The magic behind vector search, prerequisites, set up embeddings, work with embeddings, and MongoDB Atlas Vector Search.

Vector SearchJavaSpring
Foojay.io
Sep
Tutorial

Queryable Encryption With Spring Data MongoDB: How to Query Encrypted Fields

Why Queryable Encryption, a quick look at Spring MongoDB integration, defining encrypted fields, configuration, and dependencies.

MongoDBSpringSecurity
Foojay.io
Jul
Article

Why Mirroring Production in Dev Helps You Avoid Costly Mistakes

A realistic aggregation scenario, writing the test, testing on M0, the hidden risk, and taking it to production with the same queries on different environments.

MongoDBBest PracticesMigration
Foojay.io
Jun
Article

Clean and Modular Java: A Hexagonal Architecture Approach

One of the discussions that always leaves me with both doubts and excitement is the one about hexagonal architecture, diving deeper into modular design.

JavaArchitecture
Foojay.io
Jun
Tutorial

MongoDB Aggregation Framework: A Beginner's Guide

Finding exactly the data we need isn't always simple. Learn how to filter, group, and perform calculations using MongoDB's Aggregation Framework.

JavaAggregation FrameworkMongoDB
Foojay.io
Mar
Part 3

Spring Data Unlocked: Performance Optimization Techniques With MongoDB

Learn how to optimize a Spring Data MongoDB application through indexes and read preferences. This third and final part of the series covers single field, compound, unique, and TTL/partial indexes, as well as ReadPreference strategies.

JavaSpring DataMongoDB
Dev.to
Feb
Part 2

Spring Data Unlocked: Advanced Queries With MongoDB

Explore Spring Data's capabilities by creating advanced queries with MongoRepository and MongoTemplate. This second part of the series covers derived queries, @Query, @Update, @Aggregation, pagination, and bulk operations.

JavaSpring DataMongoDBQuery
Dev.to
Jan
Part 1

Spring Data Unlocked: Getting Started With Java and MongoDB

Learn how to integrate MongoDB with Spring Data in a simple and easy way. This first part of the series covers getting started with Spring Data, modeling your data, and using MongoRepository to perform basic CRUD operations.

JavaSpring DataMongoDB
Dev.to
2024
5 articles
Nov
Article

Java Meets Queryable Encryption: Developing a Secure Bank Account Application

Learn how to seamlessly integrate Java with MongoDB Queryable Encryption in a fully automated way. This process allows you to leverage the advanced encryption features of MongoDB, ensuring that your data remains protected even during complex queries, without the need for manual encryption or decryption steps

JavaEncryptionQueryable Encryption
Dev.to
May
Article

Beyond Basics: Enhancing Kotlin Ktor API With Vector Search

Learn how to integrate Vector Search into your Kotlin with Ktor application using MongoDB.

KotlinKtorVector Search
Dev.to
Apr
Article

Mastering Kotlin: Creating an API With Ktor and MongoDB Atlas

Set up a Ktor project, implement CRUD operations, define API route endpoints, and run the application. Understand Kotlin's capabilities in API development.

KotlinKtorMongoDB
Dev.to
Feb
Tutorial

MongoDB Compass — Convert Text into Queries with AI-Powered Natural Language

Explore Query With Natural Language, a revolutionary feature in MongoDB Compass that lets you write queries using plain English.

Natural LanguageAIQueryCompass
Medium
Jan
Article

Understanding MongoDB Replication: A Step-by-Step Replica Set Creation

Key facets of MongoDB Replication, including high availability and data redundancy, complemented by an accessible video walkthrough.

ReplicationDatabaseMongoDB
Medium
2023
11 articles
Oct
Article

Improving MongoDB Performance | Indexes and Explain Plan in MongoDB Compass

Optimizing MongoDB queries through the strategic use of indexes and analyzing their results using the Explain Plan feature in MongoDB Compass.

CompassIndexPerformance
Medium
Sep
Article

MongoDB Relational Migrator | From PostgreSQL to Atlas

MongoDB's Relational Migrator feature demonstrated with a sample showing how to create and migrate a database from PostgreSQL to MongoDB.

Relational MigratorDatabaseAI
Medium
Aug
Article

MongoDB Atlas | Charts: Crafting Powerful Visualizations using imported JSON Files

Importing a JSON file into a MongoDB Atlas cluster using MongoDB tools and building powerful charts and visualizations on top of that data.

AtlasChartsVisualization
Medium
Aug
Guide

Exploring Data Visualization with Grafana/PostgreSQL/Docker

How to create a Grafana instance, access it, and generate graphs using data from a PostgreSQL database running in Docker.

PostgreSQLGrafanaDocker
Medium
Apr
Article

Implementing the Observer Pattern in a Kotlin Application

An exploration of the Observer Pattern, a design pattern commonly used in software development, with a simple and practical Kotlin implementation.

KotlinDesign Patterns
Medium
Mar
Article

Deploying a Quarkus Application to AWS Elastic Beanstalk

How to deploy a Quarkus application to Elastic Beanstalk and a closer look at some of the key benefits and best practices for using these two technologies together.

AWSBeanstalkQuarkus
Medium
Mar
Part 3

Quarkus + Angular with Keycloak — Pt3 Final

The final part of building our daily-quotes application with Quarkus, Angular, and Keycloak authentication.

AngularKeycloakQuarkus
Medium
Mar
Part 2

Quarkus + Angular with Keycloak — Pt2

Continuing the development of our daily-quotes application with Quarkus, Angular and Keycloak.

AngularKeycloakQuarkus
Medium
Mar
Part 1

Quarkus + Angular with Keycloak — Pt1

Delving into the authentication mechanism of Keycloak and the creation of a daily-quotes application using Angular + Quarkus, divided into three parts.

AngularKeycloakQuarkus
Medium
Feb
Article

Binary Search in Java - How it works?

Searching and sorting are fundamental concepts in programming. Learn how to implement a binary search algorithm that traverses a list or array in Java.

Computer ScienceSearchJava
Medium
Feb
Article

What is a Binary Tree?

Trees are one of the most fundamental data structures for storing data. A binary tree is defined as a data structure organized in a binary way, where each node has at most two children.

AlgorithmsData StructureJava
Medium