Microservices with Undertow
Your only limit is your imagination.
In the earlier sections, we discovered the Undertow architecture and how to quickly build simple web servers, file browsers, and reverse proxy. In the following section, we are interested in how to build complete microservices with the Undertow Builder API, and how to connect Undertow with the open source ecosystem--JPA, CDI, and RESTEasy--to build a simple REST API.
Reading money transfer details
As seen in previous sections, the Undertow API facilitates application development without standard Java EE containers, making it a good candidate for creating microservices. In the following section, we will cover a practical use case on how to create a full microservice to expose money transfer details. The microservice will have access to the money transfer database using JPA.
Client: Hello, JBossDoctor, in our money transfer business, we have a huge demand from partners and back office systems to check money transfer details. These...