Java Integration

We have a handful of choices for actor-based concurrency in Java, as we discussed earlier. We get to pick from ActorFoundary, Actorom, Actors Guild, Akka, FunctionalJava, Kilim, Jetlang, and so on. We used Akka fairly extensively in Chapter 8, Favoring Isolated Mutability. Akka was written in Scala, but they’ve done a fairly decent job of exposing convenient interface for us to use in Java. To use Akka, refer to the Akka documentation and the examples given in this book. For one of the other libraries, refer to their respective documentation.

Get Programming Concurrency on the JVM 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.