Getting Started with MongoDB and Java
The Java Zone is brought to you in partnership with JetBrains. Learn more about how Upsource boasts in-depth knowledge of Java code and provides server-side static code analysis, code-aware navigation and search for usages in Java code.
We’ve been missing an introduction to using MongoDB from Java for a little while now - there’s plenty of information in the documentation, but we were lacking a step-by-step guide to getting started as a Java developer.
I sought to rectify this with a couple of blog posts for the MongoDB official blog: the first, an introduction to using MongoDB from Java, including a non-comprehensive list of some of the libraries you can use; the second, an introductory guide to simple CRUD operations using the Java driver:
This is very much aimed at Java/JVM developers who are new to MongoDB, and want to get a feel for how you use it.
These guides are for the current (2.x) driver. When we release 3.x, we’ll release updated guides as well.