|
From: Bill B. <bb...@re...> - 2013-09-06 13:53:45
|
I don't know what Spring has done as far as using the ServletContainerInitializer and honestly I just don't have the cycles to look into it now. Either the community has to look into it and give a more integrated solution than Resteasy2 + Spring2, or you're just stuck with that model for now. On 9/6/2013 1:25 AM, Geyer, Randy wrote: > 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 > > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |