To integrate spring in my gwt application i added spring4gwt and i followed the tutorial in SimpleRPCExample. But it doesn't work, however everything in configuration and code seems OK.
So this what i put in application context to scan servlets
<context:component-scan base-package="com.protid.prosa.server" />
I tagged my SaService interface with @RemoteServiceRelativePath("sab/travaux") and the SaServiceImpl Service with @Service("travaux")
The user interface is loaded but the rpc call doesn't work. Can any body tell me where is the mistake i did, or what is the best approach to integer spring with gwt. Thank you,
And this is how i added the servlet to my web.xml
<servlet>
<servlet-name>springGwtRemoteServiceServlet</servlet-name>
<servlet-class>org.spring4gwt.server.SpringGwtRemoteServiceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>springGwtRemoteServiceServlet</servlet-name>
<url-pattern>/prosa/sab/*</url-pattern>
</servlet-mapping>