I am developing a web site/application that really is a UI for a lot of REST calls in the backend. So, the backend uses JAX-RS from RESTeasy (v3.0.6). For the UI front end, I was hoping to template using JSP. Specifically, a user logs in, and is then redirected to a page which would be dynamically generated using a JSP. I am not able to get an HTMLEasy based solution to work because of various integration errors (see this SO post). There is supposed to be a pure RESTeasy approach which also did not work for me owing to the error Unable to find contextual data of type: javax.servlet.http.HttpServletRequest
.
As a result, I am re-evaluating my entire approach to all of this. Is Htmleasy production quality? If so, where can I find good documentation to how exactly I should integrate it into my maven environment? Second, is JSP the best way to do my HTML template? Are there HTML templating solutions out there that work on jetty 9, maven, and RESTeasy? If so what are they? Lastly, does RESTeasy support JSP templating out of the box for producing text/html pages? If so, where can I find a tutorial with complete examples (not code stubs)?