Official MongoDB drivers for Java, Kotlin, and Scala applications to connect and interact with MongoDB databases.
MongoDB Java Driver is the official set of drivers for Java, Kotlin, and Scala applications to connect to MongoDB databases. It provides a native interface for performing database operations, managing connections, and leveraging MongoDB's document model directly from JVM-based applications.
Java, Kotlin, and Scala developers building applications that require MongoDB database connectivity, including enterprise applications, microservices, and data-intensive systems.
Developers choose this driver because it's the official MongoDB solution with guaranteed compatibility, regular updates, and comprehensive documentation. It offers production-ready reliability and direct support from MongoDB engineers.
The official MongoDB drivers for Java, Kotlin, and Scala
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Maintained directly by MongoDB with regular updates and security patches, ensuring compatibility with MongoDB server versions and enterprise-grade support.
Provides dedicated drivers for Java, Kotlin, and Scala with idiomatic APIs, reducing the need for separate libraries or wrappers in mixed-language projects.
Supports all MongoDB features including CRUD, aggregation pipelines, multi-document transactions, and change streams, enabling complex data operations.
Built-in connection pooling, SSL/TLS encryption, and automatic retry logic minimize downtime and simplify deployment for scalable applications.
Requires Java 17+ for building and running, which can block adoption in legacy environments or projects using older LTS versions like Java 8 or 11.
Building from source necessitates running a local mongod instance with specific test parameters (enableTestCommands), adding complexity for contributors and test environments.
Alpha and Beta APIs are explicitly marked as unstable and subject to breaking changes, making them risky for production use or library dependencies without careful isolation.