j4-minimal
j4-minimal copied to clipboard
Minimal web application example using Embedded Jetty, Jersey, Guice, and Jackson
If you don't have the preceding slash, the baseURI is not set correctly in ServletContainer (baseURI and requestURI both have the entire path)
Is it possible to eliminate the need for the EmptyServlet class? Perhaps since newer versions of Jersey and/or Guice and/or jersey-guice have been released?
It would be great if this sample application could demonstrate argument injection using guice binding annotations. I'm talking about method arguments like (where ResultsPerPage is custom binding annotation): ``` public...