I agree, Guice + Jersey is pretty straightforward.
On Wed, Jun 5, 2013 at 5:03 PM, Cédric Beust ♔ <[email protected]> wrote: > Same here, we use Guice + Jersey, no complaints. > > > -- > Cédric > > > > On Wed, Jun 5, 2013 at 2:00 PM, Filipe Sousa <[email protected]> wrote: > >> The only thing needed is the GuiceFilter and a listener. Take a look at >> this random project in github >> https://github.com/robinboehm/guice-jersey >> >> I have been looking in the last few days for a REST framework that >> integrates with guice. So far jersey is the easiest. I have only a few >> issues with an old framework that uses an older version of jersey that do >> not mix well. Now I'm trying Restlet. >> >> On Wednesday, June 5, 2013 7:39:50 PM UTC+1, Moandji Ezana wrote: >>> >>> > I can't find withInjector on github. >>> >>> You're right. I got a bit ahead of myself: it's in a pull request of >>> mine that hasn't been merged yet. Sorry. >>> >>> >I could override getModules() but not getStage(). >>> >>> You can still set Stage in the web.xml. >>> >>> >But even so, I still have do add jersey specific things to web.xml. >>> With jersey-guice is as simple as serve("/rest/*").with(** >>> GuiceContainer.class); >>> >>> With Jersey, you don't put *anything* in the web.xml? Even in a non-JEE >>> context? >>> >>> To be honest, I'm not using Jersey because, like 99% of the >>> java.netprojects that I try out, either I can't figure out from the docs >>> how it >>> works or the site is down. >>> >>> Mwanji >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "google-guice" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/google-guice?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
