

#Download mongodb java driver driver#
The MongoDB Driver mongodb-driver is the updated synchronous Java driver that includes the legacy API as well as a new generic MongoCollection interface that complies with a new cross-driver CRUD specification. If downloading mongodb-driver-legacy manually, you must also download its dependencies: bson andmongodb-driver-core Note: You can also download the mongodb-driver-legacy jar directly from sonatype. While not deprecated, we recommend that new applications depend on the mongodb-driver-syncmodule. The MongoDB Legacy driver mongodb-driver-legacy is the legacy synchronous Java driver whose entry point is and central classes include, , and. If downloading mongodb-driver-sync manually, you must also download its dependencies: bson and mongodb-driver-core

Note: You can also download the mongodb-driver-sync jar directly from sonatype. The mongodb-driver-sync artifact is a valid OSGi bundle whose symbolic name is -sync. This is a Java 9-compliant module with an Automatic-Module-Name of .client. The MongoDB Driver mongodb-driver-sync is the synchronous Java driver containing only the generic MongoCollection interface that complies with a new cross-driver CRUD specification. The preferred artifact for new applications is mongodb-driver-sync however, we still publish the legacy mongo-java-driver uber-jar as well as the mongodb-driver jar introduced in 3.0. There are two Maven artifacts available in the release.
#Download mongodb java driver drivers#
The recommended way to get started using one of the drivers in your project is with a dependency management system.
