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

Learn why MongoDB was selected as a leader in the 2024 Gartner® Magic Quadrant™
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

Retrieval-Augmented Generation With MongoDB and Spring AI: Bringing AI to Your Java Applications

Learn to create a Java Spring retrieval augmented generation application, with MongoDB.
MongoDB thumbnail image
JavaSpringAI

Sep 23, 2024
Tutorial

Unlocking Semantic Search: Building a Java-Powered Movie Search Engine with Atlas Vector Search and Spring Boot

In this tutorial, we delve into how we can build a Spring Boot application to perform a semantic search on a collection of movies by their plot descriptions.
MongoDB thumbnail image

Sep 18, 2024
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

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