create connection string in java project to mongodb code example
Example: mongodb connection string
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]
mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]]