You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by lsm_7 <lu...@gmail.com> on 2012/11/26 12:16:05 UTC
Complete Wicket Websockets example
Hi all,
I am trying to develop a web application which includes a chat inside it.
The idea is to provide the messaging using XMPP and websockets. However, I
didn't find a complete example in Java about WebSockets and Wicket. I found
one which uses scala and I don't understand it so much. The other I found
was "Wicket in Action", but it's very short.
I really need an application working with websockets in order to download it
and understand its working operation.
I appreciate your help, thanks!
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Complete-Wicket-Websockets-example-tp4654203.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Complete Wicket Websockets example
Posted by lsm_7 <lu...@gmail.com>.
I finally adapted your example in Scala to Java and I understood the main
working operation.
However, I'm going to give a look to this example. So, thank you very much
for providing me an example in Java.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Complete-Wicket-Websockets-example-tp4654203p4654210.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Complete Wicket Websockets example
Posted by Martin Grigorov <mg...@apache.org>.
Hi,
I guess you talk about my examples.
Java:
source code:
https://github.com/martin-g/blogs/tree/master/wicket6-native-websockets
explanations: http://wicketinaction.com/2012/07/wicket-6-native-websockets/
It uses mostly server side push, i.e. the communication in this example is
mostly server -> client.
Scala: https://github.com/martin-g/wicket-native-websocket-example
My Scala code style is Object Oriented so it is very similar to Java, i.e.
it is easy to translate to Java.
This is a good example for your need because it is very close to Chat
application.
Official docs: https://cwiki.apache.org/WICKET/wicket-native-websockets.html
On Mon, Nov 26, 2012 at 12:16 PM, lsm_7 <lu...@gmail.com> wrote:
> Hi all,
>
> I am trying to develop a web application which includes a chat inside it.
> The idea is to provide the messaging using XMPP and websockets. However, I
> didn't find a complete example in Java about WebSockets and Wicket. I found
> one which uses scala and I don't understand it so much. The other I found
> was "Wicket in Action", but it's very short.
>
> I really need an application working with websockets in order to download
> it
> and understand its working operation.
>
> I appreciate your help, thanks!
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Complete-Wicket-Websockets-example-tp4654203.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>