10.8. Summary

In this chapter, we've built an interactive messenger service. In doing so, we've had a chance to use most of the techniques and patterns we've been gathering throughout this book.

In the course of developing the messenger, we've made use of the entire JavaSpaces API (from read to notify to snapshot). Our application makes use of advanced techniques we've encountered in recent chapters as well. We've put distributed events to use by reading channel messages reactively (through the use of the notify method). We've used leasing on our session entries to ensure that they won't persist long after their corresponding users have logged out of the messenger service. Finally, we've made use of transactions, to make sure our application ...

Get JavaSpaces™ Principles, Patterns, and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.