public static void main(String[] args) {
			try {
				MongoClient client = new MongoClient("192.168.0.105",27017);
				DB db = client.getDB("mytest");
				DBCollection collection = db.getCollection("user");
				BasicDBObject obj = new BasicDBObject();
				obj.put("name", "aaaa");
				obj.put("createDate", new Date());
				collection.insert(obj);
			} catch (UnknownHostException e) {
				logger.error("",e);
			}
	}