>From https://code.google.com/p/google-guice/wiki/Servlets

"Guice Servlet provides a complete story for use in web applications and 
servlet containers. Guice's servlet extensions allow you to completely 
eliminate web.xml from your servlet application and take advantage of 
type-safe, idiomatic Java configuration of your servlet and filter 
components."

On Thursday, June 6, 2013 11:44:50 AM UTC+1, Moandji Ezana wrote:

> Instead of a few lines in web.xml, they have a bunch of code copied from 
> Resteasy internals. I don't think that's an improvement.
>
> Why is it so important to not have any web framework config in web.xml, 
> but it's OK to have DI config in there?
>
> Mwanji
> On Jun 6, 2013 11:33 AM, "Filipe Sousa" <[email protected] <javascript:>> 
> wrote:
>
>> Hi
>>
>> Someone in another project is using restlet 3.0 with guice without 
>> restlet specifics in web.xml:
>>
>> https://github.com/QBRC/Guiberest/tree/master/guiberest-server/src/main/java/edu/swmed/qbrc/guiberest/guice
>>
>> Thanks.
>>
>> On Thursday, June 6, 2013 9:54:48 AM UTC+1, Moandji Ezana wrote:
>>>
>>>
>>> On Jun 5, 2013 11: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<https://github.com/robinboehm/guice-jersey>
>>>
>>> That's quite nice.
>>>
>>> Thanks for pointing out the Stage configuration. I'll see if that can be 
>>> made overrideable.
>>>
>>> With that, Resteasy-Guice config should be similar: add the Resteasy 
>>> filter and a Listener.
>>>
>>> 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] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> 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.


Reply via email to