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
Java
plus
Sign in to follow topics
MongoDB Developer Centerchevron-right
Developer Topicschevron-right
Languageschevron-right

Articles

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 Articles
All Articles
search
  • Latest
  • Highest Rated
Article

Spring Data Unlocked: Performance Optimization Techniques With MongoDB

Discover the journey of mastering MongoDB with Spring Data! In Part 1, we explored the basics, including MongoTemplate vs. MongoRepository. Part 2 took us deeper into advanced queries and Spring's powerful features. Now, in Part 3, we'll focus on optimizing your application with strategies like read preferences and indexing
MongoDB thumbnail image
MongoDBIndexesJavaSpring

Dec 04, 2024
Article

Java vs Kotlin: Different Syntax, Same Possibilities

In this article, we’ll cover how to use some MongoDB features, and compare and contrast how they look and feel in Kotlin and Java.
MongoDB thumbnail image

Nov 25, 2024
Article

Building a Quarkus Application to Perform MongoDB Vector Search

This article explores building a Quarkus application using MongoDB's vector search for smarter, context-aware search results. We'll cover generating embeddings with Gemini AI and creating a vector index in MongoDB. Learn how to enhance your application's search capabilities with this modern approach.
MongoDB thumbnail image

Oct 07, 2024
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
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
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
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
Article

Streamlining Java Application Development With MongoDB: A Comprehensive Guide to Using Testcontainers

This tutorial will help you understand using testcontainers for writing JUnits test for a Spring and Java application.
MongoDB thumbnail image

Jul 22, 2024
Article

MongoDB Orchestration With Spring & Atlas Kubernetes Operator

Learn how to use Spring application in production using Atlas Kubernetes Operator.
Graphic of Kubernetes and MongoDB

Jun 12, 2024
Article

How to Build a Search Service in Java

In this article, we are going to detail an HTTP Java search service designed to be called from a presentation tier.
MongoDB thumbnail image

Apr 23, 2024