title: How to develop authentication with resteasy?
body: <p>I'm making small web service(1) and I decided to use resteasy to make it. But I need to know what would be best practise to develop authentication with resteasy. And what kind of responses webservice should  send? Are responses usually in XML or what format, and what format of XML response should be?</p>
  
  <p>Btw. I use jboss 4 and Java 5.</p>
  
  <p><a href="http://www.assertionerror.com/2009/02/26/restful-web-services-with-resteasy/" rel="nofollow noreferrer">http://www.assertionerror.com/2009/02/26/restful-web-services-with-resteasy/</a></p>
  
  <p>(1) <a href="https://stackoverflow.com/questions/1803446/what-technology-i-should-use-to-develop-small-java-webservice">What technology I should use to develop small Java webservice?</a></p>