Summary
In this chapter, we have learned how to write a WebSockets endpoint in Java, and how to communicate with it using a JavaScript frontend. We have built a real-world application using WebSockets, to handle the conflicts of a group of users reserving seats in a cinema at the same time, where we have seen the important role WebSockets had to play.Â
Well, we have finally reached the end of our book, and I can't tell you what we are going to learn in the next chapter, as there are no more chapters! However, there is still plenty that you can learn about Java EE, and I hope this book has increased your appetite for it!