As Java is an object-oriented language that inherently supports the imperative programming style, asynchronicity presents a challenge that can turn the code into a nightmare. One way to deal with the complexity of asynchronicity is to introduce reactivity onto the coding level (reactive programming); you can also handle it on the design and architecture level (reactive systems design).
Mary Grygleski details a few of the major Java-based and open source reactive frameworks and toolkits in the market today, such as RxJava, Spring Reactor, Akka, and Vert.×. She explains the basic tenets of reactive systems and shares examples of the problems that these systems aim to solve, as well as the two most commonly used Java frameworks for implementing reactive coding—RxJava and Spring Reactor—and shows some code samples. She brings you to the next level of “reactivity” by introducing two reactive frameworks—Akka and Vert.x, which are usually used for implementing reactive microservices. You’ll draw comparisons between the frameworks and explore real-world examples of their uses.
Mary Grygleski is a Java developer advocate for IBM’s Digital Business Group, specializing in Reactive Java systems. She’s been riding the software tech waves since 1989, starting with Unix and C, then set sail for Java, open source, and web in the new millennium, and now venturing into reactive, mobile, and the DevOps space. Previously, she worked for several technology product companies in the Route 128 Boston technology corridor as well the San Francisco Bay Area. She now resides in the Greater Chicago Area and is an executive board member and the director of meetings for the Chicago Java Users Group (CJUG). Mary continues to be amazed by how software innovations can dramatically transform our lives. She can’t wait to see what the next tech wave will be like.
©2019, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org