|
From: Geyer, R. <Ran...@in...> - 2013-09-06 05:25:49
|
Hi all, I'm very familiar with RestEasy 2 + Spring 2 integration using the servlet context loader listeners. So what is the best practice for RestEasy 3 + Spring 3 + Servlet 3.0? How do you use Spring DI along with the servlet 3.0 resteasy-servlet-initializer? Does the Spring servlet initializer work and play well with the resteasy initializer? Any configuration needed? Couldn't find anything in the RestEasy docs on Spring integration with Servlet 3.0. I did find the "old" integration method in Chapter 43 that doesn't take advantage of servlet 3.0 configuration. If they don't directly integrate using servlet 3.0, it would be great if they would in the future. We're trying to rid ourselves of xml config files including web.xml, but rely on Spring for DI. A Spring context aware RestEasy bootstrapper that can be declared as Spring bean might do the trick. Is that feasible? Thanks - rg |