Spring JavaConfig makes possible to create spring applications without xml cotext configuration. And servlet 3.0 specification makes possible to create web applications without web.xml.
So, is it possible to create spring web application not using any xml configuration? Is there any already implemented solution?
PS At now I do not see in servlet 3.0 any simple method to use Spring’s DispatcherServlet and listener.
Well, don’t expect too much support of Spring from Java EE 6 (which is officially out since yesterday) as this won’t happen soon in my opinion 🙂 In other words, you’ll need to wait for Spring to support Servlet 3.0 to benefit from all facilities. Quoting the Spring Framework 3.0 RC1 released blog post:
So you’ll still need XML for now and this should answer your question.