title: How to connect CouchDB with Java
body: <p>I'm new about NOSQL. I use couchDB and ektrop Java API. I tried these code but it gives HTTP 405 error.</p>
  
  <pre><code>protected CouchDbInstance _db;
  {       
  String dbname = "my_database";
  try {
  //creates a database with the specified name
  CouchDbConnector dbc = _db.createConnector(dbname, true);
  
  //create a simple doc to place into your new database
  Map&lt;String, Object&gt; doc = new HashMap&lt;String, Object&gt;();
  doc.put("_id", UUID.randomUUID().toString());
  doc.put("season", "summer");
  doc.put("climate", "arid");
  dbc.create(doc);
  
  } catch (Exception e) {
  
  }
  </code></pre>
  
  <p>Examples on the internet are very complex for me, so I didn't understand anything and i did not find any tutorial, so i have two questions.<br>
  -How can i connect db ?<br>
  -How can i add/delete/update documents operations ? 
  If you give me examples codes, i will be really happy. Also you can suggest good tutorial. Thanks in advance.</p>