@all: I know that JAX-RS is based on the Servlet Spec, but it includes all
the stuff around injection, so I don't have to think about it. ;)




2013/1/29 Simone Tripodi <[email protected]>

> Hi Mikhail,
>
> > The best solution i'm aware of is to use servlet 3.0 programmatic way
> (via
> > ServletContainerInitializer [1]) to create servlet instances and manage
> > their (Injector effectively) lifecycle from ServletContextListener [2].
> > This allows you to create immutable (constuctor injection) servlet
> > instances with all the dependencies. Is there something that this model
> is
> > lacking?
>
> thanks *a lot* for putting that food on the Onami plate, this is
> definitively interesting - at least for me.
> That is maybe where we can work on, without importing my old codebase
> first. We can maybe grab old ideas.
>
> I am a official servlet extension user too, because combining it with
> Jetty I can avoid the web.xml declaration and keep strict to Java APIs
> only.
>
> Thanks a lot for your feedbacks!
> -Simo
>
> http://people.apache.org/~simonetripodi/
> http://simonetripodi.livejournal.com/
> http://twitter.com/simonetripodi
> http://www.99soft.org/
>



-- 
Viele Grüße/Best Regards

Daniel Manzke

Reply via email to