0

Where can I get. com.mongodb.client jar file?

http://api.mongodb.com/java/...

Comments
  • 1
    gee i sure wish there was a central repository for java files

    oh wait
  • 0
  • 0
    Ohk. So my problem is,
    I am creating a GUI client for mongodb.
    So consider a text box where I am going to ask for database name. User will enter database name and hit enter. So when he hit enter the database should automatically created in backend in mongodb so in short I want to execute "use <database_name_provided_by_user>" on mongo shell.
    How can I achieve this using JAVA. Please I need help madly.
  • 0
    @BindView I need com.mongodb.client
  • 2
    Build a maven project and then read the below article.
    https://journaldev.com/3963/...
    You just have to make a function that takes required input and does dB operations. Don't worry if it's coming from GUI or terminal.
    Then, you can write code to invoke this method through GUI
Add Comment