Managing Connections using the Java SDK with Couchbase Server


I am using Couchbase in Java Application. I am opening cluster while starting the server and closing it before stopping the server. Is it good way to do it like this? or do we need to open and close cluster for every operation?.

Vara Prasad.

There is a section about it in Java SDK documentation: