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

Videos

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 Videos
All Videos
search
  • Latest
  • Highest Rated
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
MongoDBJava

Sep 03, 2024
Video

Testing Java Applications with MongoDB Using TestContainers.

✅ Register for free tier Atlas → https://mdb.link/z8qC1lwIIUA-register ✅ Load sample Data → https://mdb.link/z8qC1lwIIUA-doc ✅ Link to article → https://mdb.link/z8qC1lwIIUA-article - This video will help you understand the usage of testcontainers in a Java application. This video also covers the use of testcontainers while writing integration testing for Spring Boot applications. - ✅ Learn more about testcontainers → https://testcontainers.com/ ✅ GitHubRepo Testcontainers with Vanilla Java → https://github.com/mongodb-developer/testcontainers-with-mongodb-and-java ✅ Testcontainers with SpringBoot applications → https://github.com/mongodb-developer/spring-boot-mongodb-aggregations
MongoDB thumbnail image
Play Button

Aug 26, 2024
Video

Sharding and Spring Data MongoDB: Scale Your Data

✅ Sign-up for a free cluster at → https://www.mongodb.com/cloud/atlas/register ✅ Get help on our Community Forums → https://www.mongodb.com/community/forums/https://mdb.link/gQlBGappBgk-tutorial" target="_blank" rel="noreferrer">https://mdb.link/gQlBGappBgk-tutorialhttps://mdb.link/gQlBGappBgk-download" target="_blank" rel="noreferrer">https://mdb.link/gQlBGappBgk-downloadhttps://start.spring.io/" target="_blank" rel="noreferrer">https://start.spring.io/ In this MongoDB video, we'll explore the intricacies of sharding in MongoDB and how it can be integrated with a Spring application using Spring Data MongoDB. We'll delve into the setup of a sharded cluster, the selection of a shard key, and the configuration necessary to distribute data across multiple servers. This tutorial is perfect for developers looking to scale their MongoDB databases horizontally and improve their application's performance and scalability. 📚 RESOURCES 📚 https://mdb.link/gQlBGappBgk-tutorial" target="_blank" rel="noreferrer">https://mdb.link/gQlBGappBgk-tutorial https://mdb.link/gQlBGappBgk-download" target="_blank" rel="noreferrer">https://mdb.link/gQlBGappBgk-download https://start.spring.io/" target="_blank" rel="noreferrer">https://start.spring.io/ ⏱️ Timestamps ⏱️ Introduction to Sharding [00:00:00 - 00:01:24] Brief Description: The chapter introduces the concept of sharding in databases, explaining its importance for distributing data across multiple servers. It also outlines the prerequisites for the tutorial, including Java, Maven, and a Spring Boot project setup. Setting Up the Cluster [00:01:24 - 00:02:48] Brief Description: This section guides the viewer through the process of creating a new cluster, detailing the necessary configurations for sharding, such as selecting an M30 cluster tier and the number of shards. Preparing the Environment [00:02:48 - 00:04:12] Brief Description: The chapter focuses on preparing the development environment, including loading sample data into the database, connecting to the MongoDB shell, and the initial steps to shard a collection. Sharding the Collection [00:04:12 - 00:05:36] Brief Description: The viewer is walked through the process of sharding a collection using the MongoDB shell, with an emphasis on choosing a shard key and understanding best practices for key selection. Integrating Sharding with Spring Data [00:05:36 - 00:07:00] Brief Description: This chapter discusses how to integrate sharding into a Spring Data application, highlighting the importance of the @ShardKey annotation in the model and its role in query optimization and schema evolution. Finalizing and Testing [00:07:00 - 00:08:31] Brief Description: The final chapter wraps up the tutorial by showing how to verify the sharding setup and discussing the final steps to query a sharded database within a Spring Data application. It concludes with an invitation to engage with the MongoDB community. ------ ✅ Subscribe to our channel → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

Aug 15, 2024
Video

Connection to MongoDB With Java And SOCKS5 Proxy #nosqldatabase #programming #mongodb

MongoDB thumbnail image
Play Button

May 22, 2024
Video

Connection to MongoDB With Java And SOCKS5 Proxy

✅ Sign-up for a free cluster at → https://mdb.link/CR-ehe3uwCw-register ✅ Get help on our Community Forums → https://mdb.link/CR-ehe3uwCw-forums In this video, you’ll learn how to connect to a MongoDB cluster through a SOCKS5 proxy in Java. RESOURCES Connection to MongoDB With Java And SOCKS5 Proxy → https://mdb.link/CR-ehe3uwCw-article Connect with Maxime: Twitter: https://twitter.com/mbeugnet LinkedIn: https://www.linkedin.com/in/maximebeugnet/ ✅ Subscribe to our channel → https://mdb.link/subscribe #MongoDB #Security #Java
MongoDB thumbnail image
Play Button

May 20, 2024
Video

Azure Kubernetes Services for Java Spring Boot Microservices

✅ Sign-up for a free cluster at → https://mdb.link/LSrNCVBUI0k-register ✅ Get help on our Community Forums → https://mdb.link/LSrNCVBUI0k-forums ✅ Written content → https://mdb.link/eLq9m0j7UaY - Microservices are an architectural approach that promotes the division of applications into smaller, loosely coupled services. In this tutorial, we will deploy a simple Java Spring Boot microservice application, hosted on the Azure Kubernetes Service, all backed up by our MongoDB database. - Are you ready to start building with Atlas on Azure? ✅ Get started for free today with MongoDB Atlas on Azure Marketplace: https://azuremarketplace.microsoft.com/en-us/marketplace/apps/mongodb.mongodb_atlas_self_serve_prod_2022 ✅ Check out the written tutorial: https://www.mongodb.com/developer/languages/java/azure-kubernetes-services-java-microservices/ ✅ MongoDB Atlas: https://www.mongodb.com/cloud/atlas/register ✅ Get Microsoft Azure: https://trymongodb.com/46MPRxL 📚 Resources 📚 ✅ Kubernetes Documentation: https://kubernetes.io/docs/concepts/overview/working-with-objects/
MongoDB thumbnail image
Play Button

May 17, 2024
Video

Microservices Architecture With Java, Spring, and MongoDB #programming #nosqldatabase #coding

MongoDB thumbnail image
Play Button

May 15, 2024
Video

How do I Build a Search Service for an App in Java with MongoDB?

✅ Sign-up for a free cluster at → https://mdb.link/XDW_uOtPCOE-atlas ✅ Get help on our Community Forums → https://mdb.link/XDW_uOtPCOE-forums 🔗 Resources 🔗 ✅ Blog Article - https://mdb.link/XDW_uOtPCOE-read ✅ Using Atlas Search from Java → https://mdb.link/XDW_uOtPCOE-article ✅ Get Started with Atlas Search → https://mdb.link/XDW_uOtPCOE-start ------ ✅ Subscribe to our channel → https://mdb.link/subscribe
MongoDB thumbnail image
Play Button

May 15, 2024
Video

Microservices Architecture With Java, Spring, and MongoDB

✅ Sign-up for a free cluster at → https://mdb.link/LSrNCVBUI0k-register ✅ Get help on our Community Forums → https://mdb.link/LSrNCVBUI0k-forums In this video, you’ll learn the basics of microservices architecture with Java, Spring and MongoDB. 📚 RESOURCES 📚 ✅ Microservices Architecture With Java, Spring, and MongoDB → https://mdb.link/LSrNCVBUI0k-article ✅ GitHub Repository → https://github.com/mongodb-developer/microservices-architecture-mongodb ✅ GitHub Repository → https://github.com/mongodb-developer/microservices-architecture-mongodb-config-repo 💬 Connect with Maxime: Twitter: https://twitter.com/mbeugnet LinkedIn: https://www.linkedin.com/in/maximebeugnet/ ------ ✅ Subscribe to our channel → https://mdb.link/subscribe #MongoDB #Microservices #java
MongoDB thumbnail image
Play Button

May 14, 2024
Video

Virtual Threads, Reactive Programming, and MongoDB Versus Blocking I/O operations #java #springboot

MongoDB thumbnail image
Play Button

May 13, 2024