title: what layer would you implement a Java web service
body: <p>I was asked this in my interview today, I applied for a graduate developer role, I was asked</p>
  
  <p>in an Java ee application which is distributed across multiple layers namely :</p>
  
  <pre><code>Web/Presentation layer 
  Business layer
  integration layer
  database layer
  </code></pre>
  
  <p>in which of these layers would a web service most likely to be implemented </p>
  
  <p>(there wasn't enough detail given I was straight asked this question)</p>
  
  <p>I have searched all over but couldn't find a answer </p>