WELCOME Abdennour : Software engineer

May 17, 2012

Chat Sample with Spring MVC



Rossen StoyanchevMy last blog post was based on a Spring AMQP stocks sample that involved reacting to external events. This blog post continues that theme with a chat sample where the external events are not AMQP messages but rather HTTP POST requests. Later on I'll switch to a distributed chat where the events will be Redis notifications.
Chat is not a common requirement for web applications. However it is a "true" real-time requirement. It is more sensitive to time delays than email or status alerts and it is not that uncommon to chat in a browser with a friend, or with a colleague during a webinar, or with a live person on a shopping site. You can imagine other types of online collaboration.
The Sample
The spring-mvc-chat sample is available on Github with brief instructions on how to run it.
.............. MORE

1 comment: