MongoDB Java Driver¶
The official MongoDB Java Driver enables Java applications to connect to and work with data in MongoDB. On this page, you can find descriptions of each section of the driver documentation.
If you are working with asynchronous stream processing and reactive streams, we recommend the Reactive Streams Driver.
Take the free online course taught by MongoDB¶
The Usage Examples section provides runnable code snippets and explanations for common methods. We recommend this section for users that are new to the MongoDB Java driver.
Whether you are new to MongoDB or you want to brush up on the core concepts, you can check out the Fundamentals section which contains learning material on using the Java driver to do the following:
- Connect to MongoDB
- Specify an API Version
- Authenticate with MongoDB
- Use the Driver's Data Formats
- Perform CRUD Operations
- Simplify your Code with Builders
- Perform Aggregations
- Construct Indexes
- Specify Collations
- Record Events in the Driver
- Use Driver Events in your Code
- Store and Retrieve Files in MongoDB
- Encrypt Fields in a Document
See the API Documentation if you are looking for technical information about classes, methods, and configuration objects within the MongoDB Java driver.
The Frequently Asked Questions (FAQ) section provides answers to commonly asked questions about the MongoDB Java Driver.
Issues & Help¶
The Issues & Help section explains how to report bugs, contribute to the driver, and find additional resources for asking questions and receiving help.
The Compatibility section shows compatibility charts with JVM and MongoDB server versions.
The What's New section shows new features and changes in each version.