Category Archives: NoSQL

Mongodb and Java a simple example

MongoDB (from “humongous”) is an open source document-oriented database system developed and supported by 10gen. It is part of the NoSQL family of database systems.  It is extremely easy to install and use and supports most popular programming languages.  Here is a simple java application to add and query data.

import com.mongodb.MongoClient;
import com.mongodb.MongoException;
import com.mongodb.DB;
import com.mongodb.DBCollection;
import com.mongodb.BasicDBObject;
import com.mongodb.DBCursor;

Continue reading

Advertisements