title: CosmosClient vs DocumentClient
body: <p>What's the difference between <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/create-sql-api-java" rel="nofollow noreferrer">CosmosClient</a> and <a href="https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-java-application" rel="nofollow noreferrer">DocumentClient</a>, in Java. Should I prefer one over the other, and why?</p>