Search code examples
javamongodbmavenmaven-2maven-3

Is Maven necessary for a Java application that uses MongoDB to store data?


I am making a Java webapp that uses MongoDB to store data. Is it necessary to have Maven for this? Whatever example and tutorial I saw on Internet, contains Maven. Is it not possible to do it without Maven?


Solution

  • Maven is a Dependency manager. Maven has no link with MongoDB. Yes, you can use maven in your project to manage dependencies. MongoDB is a database. You can create application without using MAVEN.