BeanUtilsBean.populate, is written to populate the JavaBeans properties of the specified bean, based on the specified name/value pairs.

Lets start with an example, a map with 2 keys name and address, and need to populate to Person object

In this post, we will re-implement the same features, but use the new Spring WebFlux.

To start a new project, go to to generate the project .

select the following requirements to generate the project.

  • Reactive Web
  • Lombok

To continue on the project it should have the following dependencies in gradle file

Create a TokenProvider class as below

Next, create a WebFilter to handle the authentication

Now, register this filter in the SecurityWebFilterChain

.securityContextRepository() will prevent it to create a WebSession, it is similar with STATELESS strategy

Create a RESTful API to authenticate a user.

All done. Now start the server as gradle bootRun, it should work like before sections

Get al source code from my GITHUB

If you like this page please Buy me a Coffee —

What is Reactive programming

According to wikipedia it is declarative programming paradigm concerned with data streams and the propagation of change

What is microservice

Micro service architecture style a suite of independently deploy-able, small, modular services in which each service runs a unique process and communicates through a well-defined, lightweight mechanism to serve a business goal.

So What is Reactive Microservices …


Suraj Batuwana

Technology Evangelist, Technical Blogger with multidisciplinary skills with experience in full spectrum of design, architecture and development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store