title: Securing Java Rest Service : JSON WebToken (JWT ) or oAuth 1.0?
body: <p>I would like to know, JWT or oAuth 1.0 is best approach for securing Rest services.We are planning to develop a Dojo based web application and JAX-RS rest based web-service.Could someone help me on this ?.</p>
  
  <p>It will be really good if you can suggest some sample code for implementing the same in Java.</p>
  
  <p>Thanks in Advance.</p>