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 at IBM, specializing in reactive Java systems. She started working as a software engineer with C and Unix, then got into Java, open source, and web development in the new millennium, and now she’s venturing into reactive, mobile, and DevOps. Previously, she worked for several technology product companies in the Route 128 Boston Technology Corridor, as well as the San Francisco Bay Area. She now resides in the Greater Chicago area, and is an executive board member and president of the Chicago Java Users Group (CJUG). She’s an active co-organizer for the Big Data Developers in Chicago, Chicago Cloud, and IBM Cloud Chicago meetup groups. Mary continues to be amazed by how software innovations can dramatically transform our lives. Despite the many challenges in an ever-evolving technical world, she gets energized by the constant change and believes that she has uncovered the pathway to staying young. 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. • email@example.com