Skip to content

sharper/dropwizard-atmosphere

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

The Dropwizard example integrated with Atmosphere rest-chat example.

Overview

Dropwizard is a high performance JVM REST framework built upon proven production JVM technologies.

Atmosphere provides server side push technology using websockets when it can and gracefully degrades to long polling for browsers that suck.

Running The Application

To test the example application run the following commands.

  • To package the example run.

    mvn package
    
  • To run the server run.

    java -jar target/dropwizard-example-0.6.2.jar server example.yml
    

To test chat, which purposely resides in its own directory to excercise CORS

  • Browse the file

    app/chat.html
    
  • To test the bad word filter, enter any message with ".NET" and it will be replaced with "***" :)

About

Dropwizard example w/ atmosphere

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published