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

Join us at AWS re:Invent 2024! Learn how to use MongoDB for AI use cases.
MongoDB Developer
Java
plus
Sign in to follow topics
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Languageschevron-right

Tutorials

A high-level, class-based, object-oriented programming language. With Java Virtual Machine (JVM) Java applications are called WORA (Write Once Run Anywhere).

All Java Tutorials
All Tutorials
search
  • Latest
  • Highest Rated
Tutorial

Integrating MongoDB With Amazon Managed Streaming for Apache Kafka (MSK)

Learn to set up Amazon MSK, configure the MongoDB Connector for Apache Kafka, and use it as a source and sink for data integration with Atlas in AWS.
MongoDB thumbnail image
JavaMongoDBKafka

Sep 17, 2024
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
Tutorial

How to Migrate PostgreSQL to MongoDB With Confluent Kafka

MongoDB thumbnail image

Aug 30, 2024
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
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
Tutorial

Exploring the Advanced Search Capabilities With MongoDB Atlas Search

In this third part of our Atlas Search with Spring Boot series, we dive into advanced topics like custom analyzers, language-specific analyzers, GeoJSON data, and combining search with MongoDB's $lookup stage. If you haven’t read the earlier parts, check them out to build a solid foundation.
MongoDB thumbnail image

Aug 20, 2024
Tutorial

Exploring Search Capabilities With Atlas Search

In the second part of our series on MongoDB Atlas Search with Spring Boot, we dive into practical applications of search indexes. Building on Part 1, which covered creating Atlas Search indexes, this article focuses on implementing search queries to enhance user experience. This tutorial equips you with the skills to implement efficient search functionality, making your applications more responsive and user-friendly. Whether you're new to MongoDB or experienced, you'll find valuable insights to optimize your search capabilities.
MongoDB thumbnail image

Aug 20, 2024
Tutorial

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

In the second part of the series, we provide examples of how the single-collection pattern can be utilized in Java applications using Spring Data MongoDB.
Spring

Aug 12, 2024
Tutorial

Building a Real-Time, Dynamic Seller Dashboard on MongoDB

In this article, we look at how a single query on MongoDB can power a real-time view of top-selling products, and deep-dive into the top-selling regions.
building a real-time, dynamic dashboard

Aug 05, 2024
Tutorial

Getting started with MongoDB Atlas Search and Java

This tutorial will help you understand the concepts of Atlas Search and also teach how to create the indexes using Atlas UI, Atlas CLI and programatically using Spring Boot Application.
MongoDB thumbnail image

Jul 30, 2024