This example uses Vaadin within a Spring Boot application to send messages via NATS
# Run NATS server
./gradlew runNatsServer
# Subscribe to vaadin.input
docker run --network nats --rm -it natsio/nats-box nats sub -s nats://nats:4222 vaadin.input
# Start application in another terminal
./gradlew bootRun
Open in a browser: here