更新时间:2021-07-02 12:35:56
coverpage
Title Page
Copyright and Credits
Spring 5.0 Projects
About Packt
Why subscribe?
Packt.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Code in Action
Conventions used
Get in touch
Reviews
Creating an Application to List World Countries with their GDP
Technical requirements
Introduction to the application
Understanding the database structure
Understanding the World Bank API
Designing the wireframes of application screens
Country listing page
Country detail page
Country edit page
Add a new city and language
Creating an empty application
Defining the model classes
Using Hibernate Validator to add validations
Defining the data access layer – Spring JDBC Template
Defining the JDBC connection properties
Setting up the test environment
Defining the RowMapper
Designing the CountryDAO
Designing the CityDAO
Designing the CountryLanguageDAO
Designing the client for World Bank API
Defining the API controllers
Enabling Web MVC using @EnableWebMvc
Configuration to deploy to Tomcat without web.xml
Defining the RESTful API controller for country resource
Defining the RESTful API controller for city resource
Defining the RESTful API controller for country language resource
Deploying to Tomcat
Defining the view controller
Defining the view templates
Configuring a Thymeleaf template engine
Managing static resources
Creating the base template
Logging configuration
Running the application
Summary
Building a Reactive Web Application
Reactive system
Reactive Programming
Basics of Reactive Programming
Backpressure
Benefits of Reactive Programming
Reactive Programming techniques
Reactive Programming in Java
Reactive Streams
Reactive Streams specifications
Publisher rules
Subscriber rules
Subscription rules
Processor rules
Reactive Streams TCK
RxJava
Anatomy of RxJava
Observer event calls
Observable for iterators
Custom Observers
Observable types
Cold Observable
Hot Observable
Other ways to get Observable
Operators
Project Reactor
Reactor features
Handling data stream with high volume
Push-pull mechanism
Handling concurrency independently
Reactor sub-projects
Reactor types
Reactor in action
Types of subscribers
Custom subscribers
Reactor lifecycle methods
Ratpack
Akka stream
Vert.x
Reactive support in Spring Framework
Spring WebFlux