Skip to content

This project gives a simple example on how to publish twitter stream to a web page using cometd and the twitter streaming API

Notifications You must be signed in to change notification settings

fredang/cometd-spring-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a small webapp to show how to use cometd with spring and tomcat. It's part of the tutorial https://chimpler.wordpress.com/2013/02/11/pushing-real-time-data-to-the-browser-using-cometd-and-spring/

This webapp listens to the twitter sample firehose and pushes the status to the web page using cometd.

To deploy the application with jetty:

  mvn jetty:run

In your browser open the following url: http://localhost:8080/spring/index

To deploy the application with Tomcat:

  mvn clean install
  cp target/cometd-spring-example-1.0.war /webapps/

Then in your browser open the following URL: http://localhost:8080/cometd-spring-example-1.0/spring/index

About

This project gives a simple example on how to publish twitter stream to a web page using cometd and the twitter streaming API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published