title: Apache Web Server, Java Web Services - Hello World Tutorial
body: <p>Does anyone know where I can find a good tutorial for setting up apache and a java web service (Hello World)?</p>
  
  <p>I'm new to Apache and Java Web Services (do I need Tomcat?).  I need a simple Java Web Service that can receive a simple http request from a client (eg. www.somedomain.com/service/001/notify).  The idea is that a client will make an Http request and the Java Web Service will receive the request and run corresponding Java code on the host.</p>
  
  <p>Sorry for the gaps in my knowledge, hence my need to have a tutorial.</p>
  
  <p>In short I'd like to do this:</p>
  
  <p>CLIENT:</p>
  
  <pre><code>new Request("www.somedomain.com/service/001/notify");
  </code></pre>
  
  <p>JAVA WEB SERVICE:</p>
  
  <pre><code>public void notify(int serviceID){
      System.out.println("Service " + serviceID + " says 'Hello!'");
  }
  </code></pre>