Bear Bibeault wrote:I've used Play! successfully -- but I would caution that because it's not based on Servlets and JSP, it's a pretty fair deviation from "the norm". Also, be prepared to be stuck at Play version 1. Play version 2 is a complete re-write, and (last I checked) could not be deployed on Tomcat or other JEE containers.
Just be aware of the limitations that are the price paid for the benefits.
Yeah, good point.
I need to make sure I can "deploy" a simple helloworld REST service first I guess.
The example Intellij creates is the same as the one on the Jersey site. I've tried to "deploy" it to Tomcat using the port 9998, but it doesn't run. I just get the dreaded:
I've also tried 8080.
The only way I can get the service to "deploy" is to run the main method (code below) and then the browser comes up and I can do REST calls. Is that what
you meant by "deploy"? Running a main method is not, of course, how I have ever deployed a web app.
Look forward to any comments.
------------------
// modified the below a bit from the JERSEY "Helloworld" example