Chapter 2. Getting Started with Java Driver for MongoDB

This chapter discusses the MongoDB Java interface that consists of a JDBC driver that needs to be downloaded and included in your application's classpath. By using the MongoDB Java driver, you will be able to perform all the create/read/update/delete (CRUD) operations that we have so far accomplished using the mongo shell. The list of topics covered includes the following:

  • Downloading and installing the MongoDB JDBC driver
  • Setting up a basic Java project using Eclipse
  • Performing common CRUD operations using a Java application

Getting the Mongo JDBC driver

The MongoDB Java driver can be downloaded from the Maven central repository at ...

Get MongoDB for Java Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.