title: How use themoviedb.org api in Java
body: <p>I'm using themovidedb.org api to fetch the movie info in a Java program.</p>
  
  <p>This is the function that i'm using for link my application with themovidedb.org:</p>
  
  <pre><code>        url = new URL("http://api.themoviedb.org/3/movie/550?api_key={MY_API_KEY}");
          HttpURLConnection con = (HttpURLConnection) url.openConnection();
  
          con.setDoOutput(true);
          con.setRequestMethod("GET");
          con.setRequestProperty("Content-Type", "application/json");
  
          BufferedReader br = new BufferedReader(new InputStreamReader((con.getInputStream())));
  
          String output;
          System.out.println("Output from Server .... \n");
          while ((output = br.readLine()) != null) {
              System.out.println(output);
          }
  </code></pre>
  
  <p>This is the response in the console:</p>
  
  <pre><code>{"adult":false,"backdrop_path":"/87hTDiay2N2qWyX4Ds7ybXi9h8I.jpg","belongs_to_collection":null,"budget":63000000,"genres":[{"id":18,"name":"Drama"}],"homepage":"http://www.foxmovies.com/movies/fight-club","id":550,"imdb_id":"tt0137523","original_language":"en","original_title":"Fight Club","overview":"A ticking-time-bomb insomniac and a slippery soap salesman channel primal male aggression into a shocking new form of therapy. Their concept catches on, with underground \"fight clubs\" forming in every town, until an eccentric gets in the way and ignites an out-of-control spiral toward oblivion.","popularity":9.922193999999999,"poster_path":"/adw6Lq9FiC9zjYEpOqfq03ituwp.jpg","production_companies":[{"name":"Regency Enterprises","id":508},{"name":"Fox 2000 Pictures","id":711},{"name":"Taurus Film","id":20555},{"name":"Linson Films","id":54050},{"name":"Atman Entertainment","id":54051},{"name":"Knickerbocker Films","id":54052}],"production_countries":[{"iso_3166_1":"DE","name":"Germany"},{"iso_3166_1":"US","name":"United States of America"}],"release_date":"1999-10-15","revenue":100853753,"runtime":139,"spoken_languages":[{"iso_639_1":"en","name":"English"}],"status":"Released","tagline":"Mischief. Mayhem. Soap.","title":"Fight Club","video":false,"vote_average":8.199999999999999,"vote_count":8430}
  </code></pre>
  
  <p>How can I parse the response to get any attribute (for example: 'original_title', 'relase-date') and use it in the code?</p>
  
  <p>Exists an alternative way to link the program to the database (e.g. using WebResource class)? </p>