Example projects with the wamp2spring library
  • Java 35.8%
  • JavaScript 26.1%
  • HTML 17.2%
  • TypeScript 13.6%
  • CSS 7.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-09 09:43:24 +02:00
.mvn/wrapper upgrade 2026-05-31 15:43:52 +02:00
bandwidth upgrade 2026-09-12 13:43:55 +02:00
datachannel upgrade 2026-09-12 13:43:55 +02:00
earthquake upgrade 2026-09-12 13:43:55 +02:00
fiddle upgrade 2026-09-12 13:43:55 +02:00
gauge upgrade 2026-09-12 13:43:55 +02:00
geotracker upgrade to ionic 9 2026-10-09 09:43:24 +02:00
iss upgrade 2026-09-12 13:43:55 +02:00
maps upgrade 2026-09-12 13:43:55 +02:00
mobile-chat upgrade to ionic 9 2026-10-09 09:43:24 +02:00
pirate upgrade 2026-09-12 13:43:55 +02:00
reactive upgrade 2026-09-12 13:43:55 +02:00
session upgrade 2026-09-12 13:43:55 +02:00
simple-chat upgrade 2026-09-12 13:43:55 +02:00
smoothie upgrade 2026-09-12 13:43:55 +02:00
snake upgrade 2026-09-12 13:43:55 +02:00
tail upgrade 2026-09-12 13:43:55 +02:00
worldchat upgrade 2026-10-04 10:04:09 +02:00
.editorconfig Use spring boot m5 instead of snapshot. A bit more stable and 2017-10-25 08:35:23 +02:00
.gitignore upgrade to wamp2spring 4 2026-04-29 07:07:16 +02:00
LICENSE Initial commit 2017-08-14 20:39:52 +02:00
mvnw Upgrade 2025-07-26 12:40:51 +02:00
mvnw.cmd Upgrade 2025-07-26 12:40:51 +02:00
README.md update version 2026-04-29 08:27:44 +02:00

Collection of example wamp2spring applications that show the capabilities of WAMP and the library. Not everything is developed by me. I found examples on the internet, replaced the connection part with autobahn-js and the server part with a Spring Framework 7 / Spring Boot 4 application. In the source column you find a link to the original repository.

Project Description Source
bandwidth Displays received and sent bytes of the server network interface (eth0). The server sends this information periodically to all connected browsers. GitHub
datachannel Establish RTCPeerConnection connections and send data over DataChannels. WAMP is used for the signalling process (WebRTC dance)
earthquake The server reads data from the Earthquake Hazards Program and sends it periodically to the clients. GitHub
gauge Server sends periodically random data to all connected browsers where the data is displayed with the gauge diagram from the echarts library.
iss The server reads periodically the position of the International Space Station from api.open-notify.org and sends the location to all connected browsers.
maps Server sends periodically coordinates to all connected clients that move two car icons on a Google Maps.
pirate Port of a multiplayer game from an Envato Tuts+ tutorial. Tutorial
simple-chat Simple chat application
smoothie Server generates random data every second and sends it to all connected clients where the data is displayed with the smoothie.js library. GitHub
snake Port of the WebSocket snake demo included in the Tomcat distribution. Homepage
tail The server application follows the Nginx access log, translates the IP address of new entries to latitude/longitude with the GeoLite2 City database and sends the information to all connected clients. GitHub, GitHub
worldchat A more sophisticated chat example where each user can select his language and the server translates the messages with the Google Translation API before it sends it to the other users. GitHub