While popular Java application servers such as Tomcat and Jetty, have evolved to offer non-blocking operations, the Java Servlet API has not.įrom a programming perspective, reactive programming involves a major shift from imperative style logic to a declarative composition of asynchronous logic. This is because Spring MVC is developed around the Java Servlet API, which uses blocking code inside of Java. The Spring Web Reactive framework stands separately from Spring MVC. Spring Framework 5 embraces Reactive Streams to enable developing systems based on the Reactive Manifesto published in 2014. Such systems are suitable for event-loop style processing that can scale with a small number of threads. Reactive programming is about developing systems that are fully reactive and non-blocking. An exciting feature in Spring Framework 5 is the new Web Reactive framework for allows reactive web applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |