© Prem Kumar Karunakaran 2020
P. K. KarunakaranIntroducing Play Frameworkhttps://doi.org/10.1007/978-1-4842-5645-9_5

5. Concurrency and Asynchronous Programming

Prem Kumar Karunakaran1 
(1)
Thiruvananthapuram, Kerala, India
 

Before you dive deeper into Play, it is very important to have a good knowledge of concurrency and asynchronous programming in Java. This is essential because the examples in the chapters ahead will use lot of asynchronous programming practices.

Let’s first understand the java.util.concurrent package, the core module in Java for dealing with concurrent programming. Knowing this will help in relating to how Play handles asynchronous web services using WS and Promise classes. You may skip this chapter if you are already familiar with ...

Get Introducing Play Framework: Java Web Application Development 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.