There are different way to connect the mongoDB in Java , it depends upone many factor, whether it’s stand alone server or installed in localhost or installed and configured in mongoDB replica set or sharding of mongoDB. Secondly, to consider of connecting to mongDB in java, whether by native mongoClient or mongoTemplate in Spring framework or any another approach. I tried to explain few easy step by step process in this article.
Continue reading How to connect MonogDB in Java?
This article is about how to add user in mongoDB as a admin user and database user.
Continue reading How to add user in mongoDB?
In this article I tried to explain how to update data in mongoDB in different options available in mongodb. You can update documents in mongodb using update function in different way. what are the different way of update function in mongoDB which is described in this post.
Continue reading How to update data in mongoDB?
Well, when you encounter to export your data to a file like
.csv. In first time in your life, you might think how to export dta into
.csv file in
MongoDB? but believe me this is very simple. Exporting of data is one step process in
mongoDB. exporting can be with different utility tool but I’m demonstrating here by command line argument.
Continue reading How to export data in .csv file in MongoDB?
Adding or enabling of username/password is simple or you can say authentication and authorization in mongoDB 2.6 or lesser version of mongodb < 3.0 using MONGODB-CR is very simple. Follow the following steps and you are done with adding role based security in mongodb. Continue reading How to Enable auth using MONGODB-CR in MongoDB?
MongoDB only provides packages for 64-bit LTS (long-term support) Ubuntu releases. For example, 12.04 LTS (precise), 14.04 LTS (trusty), 16.04 LTS (xenial), and so on. These packages may work with other Ubuntu releases, however, they are not supported. Please follow the following step to install MongoDB enterprise edition of mongoDB. mongoDB enterprise edition demand some subscription fee , it means its paid on production.
Continue reading How To Install MongoDB Enterprise on Linux Ubuntu?
Well, here, I’m going to demonstrate how to create a simple Java Web Project using Maven. This is simple web project, so going to add nothing apart from generated files.
Continue reading How to create a Web Project using Maven
unzip utility tool, if not installed in your system.
Continue reading How to do zip and unzip file in Ubuntu Linux?
Adding or enabling of username/password is simple or you can say authentication and authorization in mongoDB using SCRAM-SHA-1 is very simple. Follow the following steps and you are done with adding role based security in mongodb.
Continue reading How to Enable Authentication and Authorization using SCRAM-SHA-1 in MongoDB
Following are the list of frequently asked questions in Apache Cassandra. You know , Apache Cassandra gaining popularity in fast pace so I tried to list down few basic questions in Apache Cassandra for interview.
Continue reading Apache Cassandra Interview Questions part 1