Alternative Java Frameworks to Build RESTful APIs
Until this chapter, we have used the Spring Boot framework to demonstrate the API implementation in real code. By using the very popular Spring Boot, we are trying to the book as readable and useful for as many readers as possible.
Now it is time to explain why and how other Java frameworks can be used to implement RESTful web services.
You will see that the same design principles and a similar code structure are still applicable, so you can use the concepts from the other chapters with any framework you may want to use for your specific situation.
First, we will explain how standards such as Jakarta EE and MicroProfile can help you not get lost in the sea of frameworks and implementation stacks you could use to build your application. We will briefly mention the possibility of using reactive programming, available with most current frameworks.
The current choice of implementation technologies is the result of the history...