Skip to content

seamusmac/spring-atmosphere-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring/GWT Atmosphere Integration Sample

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:

  1. spring-mvc-atmosphere-sample - Spring MVC project with Atmosphere servlet enabled.
  2. 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:

  1. Clone this repository

  2. Import existing maven projects into eclipse

  3. Add both projects above to your tomcat installation.

  4. Start tomcat

  5. Open browser, and point to http://localhost:8080/AtmosphereGWT/

  6. Use Chrome dev tools to see if websocket connect succeeded

  7. See TestPresenter.java, this contains the code to connect to the atmosphere servlet.

CURRENTLY NOT WORKING, HELP NEEDED!!

About

Provides examples show the integration of Atmosphere and Spring Integration and Spring MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 85.3%
  • Java 14.7%