Microservices in Spring Boot: a Screencast
This Spring Boot tutorial screencast demonstrates many of the critical functions how microservices communicate with each other, including how microservice architectures use tokens.
Join the DZone community and get the full member experience.Join For Free
In software development, the term microservices refers to many independent services communicating with each other over an API. In a microservice architecture, these services must exchange information in order to perform complex tasks, and each communication is a point of vulnerability and potential latency.
This Spring Boot tutorial screencast demonstrates many of the critical functions how microservices communicate with each other, including how microservice architectures use tokens:
- Creation of private/public key pair
- Registration of public key from one service to another service
- Creation of JWTs signed with private key
- Verification of JWTs using public key
- Example of Account Resolution Service using signed JWTs
The Basics of Microservices in Spring Boot, Using JSON Web Tokens (or JWTs)
Excited to learn more about microservices or JSON web tokens? Check out these resources:
Published at DZone with permission of Lindsay Brunner, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.