Posts

Showing posts from June, 2010

Vaadin And Spring Integration

This is my documentation for the steps that i have followed to integrate the Spring with the Vaadin. web.xml changes So first we need to add the Spring Context listener to load the bean configuration file. <listener> <listener-class> org.springframework.web.context.ContextLoaderListener </listener-class> </listener> <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/applicationContext.xml</param-value> </context-param> Add the Spring Servlet to intercept Vaadin requests   <servlet> <servlet-name>VaadinSpringServlet</servlet-name> <servlet-class>com.dhaval.web.vaadin.spring.servlet.SpringApplicationServlet</servlet-class> <init-param> <param-name>applicationBean</param-name> <param-value>testApplication</param-value> </init-param> </servlet> <servlet-mapping> <servlet-name>Va