RAP application with REST server [message #1844017] |
Fri, 27 August 2021 09:58  |
Eclipse User |
|
|
|
Hi,
i need to expose a REST API for my application.
Generally i can see two approaches:
- integrating the REST-"stuff" in the current application
- creating a second (non RAP) application (the REST server) which works on the same database
Is the frist approach even valid or should i expect major problems? I've written REST-APIs with Spring Boot in the past, but i'm unsure on how to get it work in a RAP application.
I played around with some tutorials (e.g. https://www.javachinna.com/creating-spring-rest-api-without-using-spring-boot/) but it didnt't work. Even the RAP application didn't work anymore (org.springframework.web.servlet.DispatcherServlet:noHandlerFound(1147) - No mapping found for HTTP request with URI [/MyApp/rwt-resources/311/rap-client.js] in DispatcherServlet with name 'dispatcher').
Any hints how to approach this? Is the separate application the way to go?
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.07301 seconds