title: How to use EJB3 in Webservice
body: <p>I created a EJB project in eclipse id, the project is to retrieve data from a database and write data to the database. I did that database handling part using JPA. Now I want to convert this to a web service. I googled for two days but every guide stuck me some where with lot of questions. 
    Some of the tutorials said just add @webservice, @webmethod annotations to the Stateless bean class, but then eclipse gives error even without deploying. Please someone help me to move forward.</p>
  
  <p>Thank you.
  Isuru</p>