It applies to almost EVERY decision you make
In this post, we will use RSocket protocol to reimplement the chat application.
If you have missed the former posts about implementing the chat application, there is a checklist.
RSocket embraces ReactiveStreams semantics, and Spring provides excellent RSocket support through the existing messaging infrastructure. I have introduced RSocket in my former posts, check here.
In this post, we will use WebSocket as transport protocol which is good for web application. RSocket defines 4 interaction modes, we will use fire-and-forget to send a message to the server side, and request/streams to retrieve messages as an infinite stream from the server.
Hit the Generate button to download the generated archive, and extract it into your local disk.
Create a Message
document definition and a Repository
for it.
Create a @Controller
to handle messages.
I was drawn to her immediately. Her presence loving and her story real. You could just feel it. No surprise then when she told me she was from Detroit. It doesn’t get more real than that. Detroit…
Blockchain today is so popular that people are trying to implement it everywhere and in everything. Sometimes it really improves the original properties of the product, but there is often nothing…
From startup unicorns to modern day behemoths, the tech industry’s star businesses have arguably become some of the most influential organizations in our history. The 21st century brought in Bill…