I just saw new features released at wicket 6.40. And I am interested to see example code of the atmosphere channel. Where can i find the example of this feature?
Thanks.
I just saw new features released at wicket 6.40. And I am interested to see example code of the atmosphere channel. Where can i find the example of this feature?
Thanks.
Here's a quickstart application of integrating Wicket and Atmosphere.
https://github.com/papegaaij/wicket-atmosphere-quickstart
atmosphere.xml
can be found under src/main/webapp/META-INF/
web.xml
under src/main/webapp/WEB-INF/
Here is a minimal example: http://examples7x.wicket.apache.org/atmosphere/?0
It is similar to RJo's link. In addition:
EventBus
, so You'll see that everything might be transfered as long as it is Serializable
.Summary:
EventBus
instance is initialized in AtmosphereApplication.java
.EventBus
is used in HomePage.java
to push messages.@Subscribe
annotations in HomePage.java
are used to receive messages.© 2022 - 2024 — McMap. All rights reserved.
atmosphere.xml
to be found. Furthermore, the sources are not working but can be found at github.com/apache/wicket/tree/master/wicket-examples/src/main/… – Testicle