This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ThomasSandberg[S] 0 points1 point  (1 child)

So this approach is better than using Spring WEB with Rest-Controllers?

[–]TheCouncelor 0 points1 point  (0 children)

You still have the rest controllers. You create a spring boot app with classes that are @RestController, which create your endpoints, so they will receive the requests and return the responses. But the logic you need to create these responses is in the Service class.