title: 8 chars unique String in Java
body: <p>Is there any way to generate 8 characters long random and unique String in Java?</p>
  <pre><code>String id = getRandomString();
  </code></pre>
  <p>and then <code>id</code> will be for example <code>wf41Av5g</code></p>