Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
MongoDB Developer Centerchevron-right
Developer Topicschevron-right

Java

plus Follow
Sign in to follow topics
A high-level, class-based, object-oriented programming language. With Java Virtual Machine (JVM) Java applications are called WORA (Write Once Run Anywhere).

Featured

Quickstart

Java - Mapping POJOs

Learn how to use the native mapping of POJOs using the MongoDB Java Driver....
MongoDB thumbnail image
MongoDBJava

Mar 01, 2024 | 5 min read
Maxime Beugnet
Tutorial

Java Aggregation Expression Builders in MongoDB

MongoDB thumbnail image

Apr 02, 2024 | 11 min read
Quickstart

Getting Started with MongoDB and Java - CRUD Operations Tutorial

MongoDB thumbnail image

Mar 01, 2024 | 24 min read
Java Articles
All Java Articles
Article

Spring Data Unlocked: Performance Optimization Techniques With MongoDB

MongoDB thumbnail image

Dec 04, 2024 | 5 min read
Article

Java vs Kotlin: Different Syntax, Same Possibilities

MongoDB thumbnail image

Nov 25, 2024 | 5 min read
Article

Building a Quarkus Application to Perform MongoDB Vector Search

MongoDB thumbnail image

Oct 07, 2024 | 9 min read
All Java Articles
Java Quickstarts
All Java Quickstarts
Quickstart

Building Quarkus Application with MongoDB and Panache

java logo

Dec 03, 2024 | 5 min read
Quickstart

Introduction to MongoDB and Helidon

java logo

Nov 12, 2024 | 6 min read
Quickstart

How to Build a CRUD Application With MongoDB, Quarkus, and GraalVM

MongoDB thumbnail image

Aug 29, 2024 | 7 min read
Java Code Examples
All Java Code Examples
Code Example

Reactive Java Spring Boot with MongoDB

MongoDB thumbnail image

Apr 02, 2024 | 5 min read
Code Example

How to Implement Client-Side Field Level Encryption (CSFLE) in Java with Spring Data MongoDB

MongoDB thumbnail image

Jan 27, 2024 | 11 min read
Code Example

REST APIs with Java, Spring Boot, and MongoDB

MongoDB thumbnail image

Oct 25, 2023 | 4 min read
Java Tutorials
All Java Tutorials
Tutorial

Handle Time Series Data with MongoDB

MongoDB thumbnail image

Nov 19, 2024 | 13 min read
Tutorial

Terraforming AI Workflows: RAG With MongoDB Atlas and Spring AI

MongoDB thumbnail image

Nov 18, 2024 | 11 min read
Tutorial

Spring Data Unlocked: Getting Started With Java and MongoDB

MongoDB thumbnail image

Nov 11, 2024 | 5 min read
Java Videos
All Java Videos
Video

Getting Started with Atlas Search and Java

MongoDB thumbnail image
Play Button

Sep 03, 2024 | 14 min
Video

Testing Java Applications with MongoDB Using TestContainers.

MongoDB thumbnail image
Play Button

Aug 26, 2024 | 7 min
Video

Sharding and Spring Data MongoDB: Scale Your Data

MongoDB thumbnail image
Play Button

Aug 15, 2024 | 8 min
All Java Content
search
  • Latest
  • Highest Rated
Article

Why Unstructured Data is a Good Fit for Java

This article focuses on how Java developers can effectively manage unstructured data using MongoDB. The schema-less architecture, paired with its natural integration with Java’s POJO model, streamlines the handling of unstructured data, offering agility and scalability for modern applications.
MongoDB thumbnail image

Sep 16, 2024
Aasawari Sahasrabuddhe
Tutorial

Single-Collection Designs in MongoDB with Spring Data (Part 1)

Learn how to avoid joins in MongoDB by using Single Collection design patterns, and access those patterns using Spring Data in Java applications.
Schema design

Sep 09, 2024
Graeme Robinson
Video

Getting Started with Atlas Search and Java

✅ Create your free Atlas cluster - https://mdb.link/qBpERzqej6o-free ✅ Load Sample data - https://mdb.link/qBpERzqej6o-sample ✅ Concepts of Atlas Search - https://mdb.link/qBpERzqej6o-concepts ✅ Blog link - https://mdb.link/qBpERzqej6o-blog - This video will help you understand the concepts of Atlas Search and create Atlas Search indexes using different methods. It includes creating Atlas Search indexes using Atlas UI, Atlas CLI, and the Spring Boot application.
MongoDB thumbnail image
Play Button

Sep 03, 2024
Tutorial

How to Migrate PostgreSQL to MongoDB With Confluent Kafka

MongoDB thumbnail image

Aug 30, 2024
Rajesh S Nair
Quickstart

How to Build a CRUD Application With MongoDB, Quarkus, and GraalVM

Explore the seamless integration of Quarkus, GraalVM, and MongoDB for lightning-fast CRUD RESTful APIs. Harness Quarkus' rapid startup time and Kubernetes compatibility for streamlined deployment.
MongoDB thumbnail image

Aug 29, 2024
Maxime Beugnet
Article

How to Optimize Java Performance With Virtual Threads, Reactive Programming, and MongoDB

Join us as we delve into the dynamic world of Java concurrency with Virtual Threads and Reactive Programming, complemented by MongoDB's seamless integration. Elevate your app's performance with practical tips and real-world examples in this comprehensive guide.
MongoDB thumbnail image

Aug 29, 2024
Maxime Beugnet
Tutorial

How to Connect to MongoDB With a SOCKS5 Proxy With Java

In this post, we explain the different methods you can use to connect to a MongoDB cluster through a SOCKS5 proxy with vanilla Java and Spring Boot.
MongoDB thumbnail image

Aug 29, 2024
Maxime Beugnet
Tutorial

Microservices Architecture: Deploy Locally With Java, Spring, and MongoDB

Learn about microservices architecture and deploy your first architecture locally using Spring Boot, Spring Cloud, and MongoDB.
MongoDB thumbnail image

Aug 29, 2024
Maxime Beugnet
Article

Using MongoDB Change Streams in Java

Change streams allow users to subscribe to their app to any change in collection, database, or the entire deployment. Learn to use change streams with Java.
MongoDB thumbnail image

Aug 28, 2024
Rajesh S Nair
Article

MongoDB ORMs, ODMs, and Libraries

MongoDB has ORMs, ODMs, and Libraries to simplify interactions between your app and cluster. Use the best database for Ruby, Python, Java, Node.js, PHP.
MongoDB ODMs, ORMs, and Libraries

Aug 28, 2024
Alex Bevilacqua