官术网_书友最值得收藏!

Why Reactive Spring? 

In the previous section, we looked at a few interesting examples in which reactive system approaches shine. We have also expanded on the usage of fundamentals such as elasticity and resilience, and seen examples of microservice-based systems commonly used to attain a reactive system.

That gave us an understanding of the architectural perspective but nothing about the implementation. However, it is important to emphasize the complexity of the reactive system and the construction of such a system is a challenge. To create a reactive system with ease, we have to analyze frameworks capable of building such things first and then choose one of them. One of the most popular ways to choose a framework is by analyzing its available features, relevance, and community.

In the JVM world, the most commonly known frameworks for building a reactive system has been Akka and Vert.x ecosystems.

On the one hand, Akka is a popular framework with a huge list of features and a big community. However, at the very beginning, Akka was built as part of the Scala ecosystem and for a long time, it showed its power only within solutions written in Scala. Despite the fact that Scala is a JVM-based language, it is noticeably different from Java. A few years ago, Akka provided direct support for Java, but for some reason, it was not as popular in the Java world as it was in Scala.

On the other hand, there is the Vert.x framework which is also a powerful solution for building an efficient reactive system. Vert.x was designed as a non-blocking, event-driven alternative to Node.js that runs on the Java Virtual Machine. However, Vert.x started being competitive only a few years ago and during the last 15 years, the market for frameworks for flexible robust application development has been held by the Spring Framework. 

To get more information about the Java tools landscape, follow this link: https://www.quora.com/Is-it-worth-learning-Java-Spring-MVC-as-of-March-2016/answer/Krishna-Srinivasan-6?srid=xCnf.

The Spring Framework provides wide possibilities for building a web application using a developer-friendly programming model. However, for a long time, it had some limitations in building a robust reactive system.

主站蜘蛛池模板: 荣昌县| 尚志市| 曲阳县| 正阳县| 五寨县| 乾安县| 古田县| 石狮市| 安化县| 高淳县| 舞钢市| 浦东新区| 东山县| 应用必备| 岑巩县| 株洲县| 包头市| 辉南县| 中西区| 郴州市| 望奎县| 平阴县| 井冈山市| 屏边| 河北省| 东莞市| 固原市| 阳谷县| 平山县| 新安县| 武汉市| 广宁县| 堆龙德庆县| 吴忠市| 阿拉善左旗| 西平县| 谷城县| 手机| 奉贤区| 双鸭山市| 遵化市|