title: How to run/debug java web service project in eclipse
body: <p>I have a Java Web Service project which was just handed over to me by a colleague who just resigned (no one is assisting me in my new company). Im new to Java (J2EE) and my background is .Net + frontend + azure so I am pretty much very confused with setting up and running the java project. Also, Since my background is .Net Im referencing everything with how things work in Visual Studio from running a project, setting up a project to setting up and debugging a WCF project which I realized now is very different from eclipse + java. </p>
  
  <p>I would really appreciate if someone could explain to me how I can run this project which is supposedly a java web service (as I was told)?</p>
  
  <p>First I have a project that is like this:
  <a href="https://i.stack.imgur.com/jTai8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jTai8.png" alt="enter image description here"></a></p>
  
  <p>Im assuming that the project boxed as blue is the webservice (and the rest are just libraries)? Is this correct? if so how do I run and debug the project using eclipse</p>
  
  <p>Second when I click on debug as -> debug on server  this is all I see:
  <a href="https://i.stack.imgur.com/uf1LU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uf1LU.png" alt="enter image description here"></a></p>
  
  <p>Another colleague told me to install JBOSS (I haven't installed a server in eclipse) because that is what they used. Is there good documentation (step-by-step guide) on how to install JBOSS to run in eclipse. Im assuming that JBOSS + eclipse is like IIS express + Visual studio. Are there also other alternatives to JBOSS + eclipse like perhaps tomcat + ecplise that I can configure. </p>
  
  <p>I really really find it hard to setup the java web service project in eclipse I have little to no prior experience with java j2ee programming especially with web services so any clarifications with my questions would be much appreciated. To sum up:</p>
  
  <ol>
  <li>How would I really know that the project is a java webservice?</li>
  <li>If so, how do I run the project and host the project using debugging in eclipse with tomcat or jboss? </li>
  </ol>
  
  <p>I would appreciate if anyone can point me to the right direction of figuring out the source code</p>