O'Reilly logo

MongoDB for Java Developers by Francesco Marchioni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the MongoDB Java driver version 3

While this book is being written, a new major version of the Java driver has just been released. This version is number 3 and can be downloaded just like version 2 from http://central.maven.org/maven2/org/mongodb/mongo-java-driver.

As the core classes and interfaces used by the new API are different compared to the 2.X version, you will have to choose which Mongo Java driver (http://central.maven.org/maven2/org/mongodb/mongo-java-driver) is fit for your projects. This decision might not be that simple, as each version has some advantages. In particular:

  • Developing applications with the Java driver for MongoDB 3 can be more intuitive, typesafe, and run faster as it deals with a document schema that is translated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required