JavaEE / JAX-RS Use JWT authentication (com.auth0) : <p>I'm pretty new in JavaEE and need to create a Rest API with JAX-RS.
I used google to get in touch with Java Rest API's and found some articles about JWT.
I never used JWT and I'm abit confused. Right now I just know Servlet authentication and most of the articles pointed to Spring-Security.</p>

<p>I got few questions..</p>

<ul>
<li>Do I need to use Spring-Security or can I keep using my Servlet authentication?</li>
<li>Is there a good example / tutorial I can use to create a JWT authentication?</li>
<li>Is there something better / more secure than JWT?</li>
</ul>
