MongoDB Java Driver Documentation

Welcome to the MongoDB Java driver documentation hub for the 3.0 driver release.

What’s New in 3.0

The What’s New guide explains the major new features of the driver.

If you are upgrading from the 2.x series of the driver, consult the Upgrading documentation for information on breaking changes.

MongoDB Driver

For the synchronous MongoDB Driver, the Getting Started guide contains installation instructions and a simple tutorial to get up and running quickly. For more detailed documentation, see the Reference guide.

MongoDB Async Driver

For the new asynchronous MongoDB Async Driver, the Getting Started guide contains installation instructions and a simple tutorial to get up and running quickly. For more detailed documentation, see the Reference guide.

BSON Library

The BSON library comprehensively supports the BSON spec, the data storage and network transfer format that MongoDB uses for ‚Äúdocuments”. The reference guide provides information about working with Documents, how to use Codecs and Extended JSON support.