Docs Menu

Docs HomeDevelop ApplicationsMongoDB DriversJava Sync

Connection Guide

On this page

  • Overview

Learn how to set up a connection and specify connection behavior from your application to a MongoDB deployment using the driver in the following sections:

  • Connect to MongoDB

  • View a List of Connection Options

  • Specify Connection Behavior with the MongoClient Class

  • Enable Network Compression

  • Enable TLS/SSL on a Connection

  • Connect to MongoDB Using a JNDI Datasource

  • Connect to MongoDB Atlas from AWS Lambda

For information about authenticating with a MongoDB instance, see Authentication Mechanisms and Enterprise Authentication Mechanisms.

← Fundamentals

On this page