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.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With