title: Play framework with H2 - need simple tutorial
body: <p>I configured H2 in application.conf
  Unhashed this rows:</p>
  
  <pre><code>db.default.driver=org.h2.Driver
  db.default.url="jdbc:h2:file:data/db"
  db.default.user=sa
  db.default.password=""
  </code></pre>
  
  <p>Ok, then compile my app, using play run, then play h2-browser in other window cmd prompt in my application path. What's next?! When I running play h2-browser, google chrome is started on 192.168.1.102:8082, then "Oops! Google Chrome could not connect to 192.168.1.102:8082". I have not strength on this. Online documentation on Play site is very very very poor in my opinion (as beginner)</p>
  
  <p>In model class, in method called index (return Result) I have following code:</p>
  
  <pre><code> String sql = "CREATE TABLE REGISTRATION " +
                     "(id INTEGER not NULL, " +
                     " first VARCHAR(255), " + 
                     " last VARCHAR(255), " + 
                     " age INTEGER, " + 
                     " PRIMARY KEY ( id ))"; 
          Statement statement = null;
          Connection connection = DB.getConnection();
          try {
              statement = connection.createStatement();
          } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          try {
              statement.executeUpdate(sql);
          } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
          }
          return ok(
              index.render(form(Login.class))
          );
  </code></pre>
  
  <p>anyone can help me?</p>