Dropwizard example w/ atmosphere
JavaScript Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
src/main
.gitignore
README.md
dropwizard-example.iml
example.keystore
example.yml
pom.xml

README.md

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 "***" :)