title: Problems with JavaEE sample FirstCup dukesAge
body: <p>I started learning JavaEE yesterday and I chose an Oracle official guide <a href="http://docs.oracle.com/javaee/6/firstcup/doc/gcrkm.html" rel="noreferrer">FirstCup to get started</a></p>
  
  <p>I'm using Netbeans 7.2 with GlassFish Server 3.1.2.2 and I'm sure I followed every instruction step by step. But I have two problems:</p>
  
  <ol>
  <li>I didn't see any  REST Resources Configuration dialog as it says in the doc.</li>
  <li><p>I got an 404 error in the end. But if I change the url to </p>
  
  <pre><code>http://localhost:8080/DukesAgeService/webresources/dukesAge  
  </code></pre>
  
  <p>It works! I got this url by expanding RESTful Web Services->Right clicking DUkesAgeResource [dukesAge] ->Test Resource Uri</p></li>
  </ol>
  
  <p>I want to know:</p>
  
  <ol>
  <li><p>where I can find this REST Resources Configuration dialong in 1.</p></li>
  <li><p>if 2 is a print mistake in Oracle the documentation. It says the relative url should be <code>/resources/dukesAge</code></p></li>
  <li><p>Why the url must end with <code>/webresources/dukesAge</code>, can I change it? </p></li>
  </ol>