Book Image

Scala for Java Developers

By : Thomas Alexandre
Book Image

Scala for Java Developers

By: Thomas Alexandre

Overview of this book

Table of Contents (19 chapters)
Scala for Java Developers
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Describing reactive applications


The traditional pull model adopted by the Web, which is used to browse HTML pages now needs to be seconded by two-way communication. This includes a push model where users, for example, receive confirmation of asynchronous and long-running services or just get notifications of various natures.

The recently created Reactive Manifesto, which is available at http://www.reactivemanifesto.org, aims to summarize the criteria that characterize reactive applications in a technology-agnostic way:

  • React to events: Message-passing architecture, not wasting the time waiting for resources

  • React to load: Focuses on scalability by avoiding contention on shared resources

  • React to failure: Build resilient systems with the ability to recover at all levels

  • React to users: Honor response time guarantees regardless of load

Without going into the details of the manifesto that you are encouraged to read, we can directly see that the notion of message-driven architecture, which was...