- MongoDB Async Driver
- Getting Started
- Installation Guide
Installation
The recommended way to get started using one of the drivers in your project is with a dependency management system.
important
The MongoDB Async Driver requires either Netty or Java 7.
MongoDB Async Driver
The new asynchronous API that can leverage either Netty or Java 7’s AsynchronousSocketChannel for fast and non-blocking IO.
You can also download the jars
directly
from sonatype.
Note:
<dependencies>
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongodb-driver-async</artifactId>
<version>3.1.1</version>
</dependency>
</dependencies>
mongodb-driver-async
requires the following dependencies:
bson
and
mongodb-driver-core
On this page