springboot-angular-atmosphere-quickstart icon indicating copy to clipboard operation
springboot-angular-atmosphere-quickstart copied to clipboard

Clean setup of a spring boot application with embedded Tomcat 8, websockets and Atmosphere running an angular frontend generated by thymeleaf in a self hosting .jar file built by maven.

springboot-angular-atmosphere-quickstart

Build Status

Demo hosted on GiantSwarm

Clean setup of a spring boot application with embedded Tomcat 8 with websocket and Atmosphere running an angular frontend generated by thymeleaf in a self hosting .jar file built by maven.

  • Spring Boot with Spring Security
  • Tomcat 8
  • Atmosphere 2.2.x
  • Web artifacts are embedded as WebJar (angularjs, jquery-atmosphere, bootstrap3)

Run mvn to build the jar and java -jar toast-on-atmosphere-x.x.x-SNAPSHOT.jar to run the server on localhost:8080. To broadcast to all logged in clients GET localhost:8080/broadcast/MyMessage. To log out GET localhost:8080/logout.

Login