This repository illustrates integration scenarios for Atmosphere, between a GWT front end and a Spring MVC Restful server side. The following 2 samples are provided:
- spring-mvc-atmosphere-sample - Spring MVC project with Atmosphere servlet enabled.
- AtmosphereGWT - GWT front end project to connect to project above.
Tested using Eclipse 3.7 (Indigo), Tomcat 7.0.30
Tomcat server - you can change the connector in the server.xml to the following:
Setup:
-
Clone this repository
-
Import existing maven projects into eclipse
-
Add both projects above to your tomcat installation.
-
Start tomcat
-
Open browser, and point to http://localhost:8080/AtmosphereGWT/
-
Use Chrome dev tools to see if websocket connect succeeded
-
See TestPresenter.java, this contains the code to connect to the atmosphere servlet.
CURRENTLY NOT WORKING, HELP NEEDED!!