{"id":21984653,"url":"https://github.com/mrts/vaadin-javaee-jms-server-push-example","last_synced_at":"2026-04-29T09:07:42.035Z","repository":{"id":66661255,"uuid":"84735454","full_name":"mrts/vaadin-javaee-jms-server-push-example","owner":"mrts","description":"An example Vaadin 8 Java EE application that demonstrates how to use Vaadin's server push along with Java EE JMS messaging APIs","archived":false,"fork":false,"pushed_at":"2017-03-12T18:47:14.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T04:41:16.865Z","etag":null,"topics":["javaee","jms","message-driven-bean","vaadin","vaadin-cdi-addon","vaadin-push","vaadin-testbench","websocket"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-12T15:18:49.000Z","updated_at":"2017-03-13T15:26:41.000Z","dependencies_parsed_at":"2023-04-27T05:16:24.427Z","dependency_job_id":null,"html_url":"https://github.com/mrts/vaadin-javaee-jms-server-push-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrts/vaadin-javaee-jms-server-push-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrts%2Fvaadin-javaee-jms-server-push-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrts%2Fvaadin-javaee-jms-server-push-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrts%2Fvaadin-javaee-jms-server-push-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrts%2Fvaadin-javaee-jms-server-push-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrts","download_url":"https://codeload.github.com/mrts/vaadin-javaee-jms-server-push-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrts%2Fvaadin-javaee-jms-server-push-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javaee","jms","message-driven-bean","vaadin","vaadin-cdi-addon","vaadin-push","vaadin-testbench","websocket"],"created_at":"2024-11-29T18:10:37.885Z","updated_at":"2026-04-29T09:07:42.010Z","avatar_url":"https://github.com/mrts.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vaadin-javaee-jms-server-push-example\n\nAn example Vaadin 8 Java EE application that demonstrates how to use Vaadin's\nserver push and Java EE messaging APIs to send messages to client browsers in\nreal time. Uses JMS 2.0 API for sending messages, message-driven beans for\nreceiving them and a separate singleton broadcaster to broadcast messages to\nVaadin UIs (the broadcaster is recommended by Vaadin as a bridge for connecting\nmessage-driven beans and Vaadin UIs that have different lifetimes). Vaadin's\nserver push uses a WebSocket connection by default.\n\nTested with WildFly 10.1, but should work equally well with other Java EE 7\napplication servers (and probably Java EE 6 application servers once you\ndowngrade the `javaee-api` Maven dependency; you also need to change JMS APIs\nand configuration).\n\n## Building and running\n\nYou need Maven and Java 8 JDK to build and run the application.\n\nBuild the application WAR with `mvn package`, deploy it from\n`target/vaadin-javaee-server-push-example-1.0-SNAPSHOT.war` to the application\nserver.\n\n**Note that you need to run WildFly with full profile to enable JMS:**\n\n    bin/standalone.{bat,sh} -c standalone-full.xml\n\n## Testing\n\n1. Open \u003chttp://localhost:8080/vaadin-javaee-server-push-example-1.0-SNAPSHOT/receive-message\u003e in one browser window\n2. Open \u003chttp://localhost:8080/vaadin-javaee-server-push-example-1.0-SNAPSHOT/send-message\u003e in second browser window\n3. Type a message and press *Send message*\n4. Switch to the first window and observe that the message is visible on the page\n\nThere is also a Vaadin TestBench test in [SendAndReceiveMessageTest.java](src/test/java/com/serverpushexample/SendAndReceiveMessageTest.java).\n\nIf you have a TestBench licence and [Chrome WebDriver](https://sites.google.com/a/chromium.org/chromedriver/downloads)\ninstalled, you can run it with\n\n    mvn test\n\n## References\n\n- [Server Push chapter in official Vaadin documentation](https://vaadin.com/docs/-/part/framework/advanced/advanced-push.html)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrts%2Fvaadin-javaee-jms-server-push-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrts%2Fvaadin-javaee-jms-server-push-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrts%2Fvaadin-javaee-jms-server-push-example/lists"}