Vaadin Flow - running an UI application together with a RESTful server

Hello,

is it possible to have a tandem of an UI application using Vaadin Flow and a RESTful server
using the
same
url and port
? For example

As far as I could see, I could either run the UI application or the RESTful server, but not at the same time?!?

If it’s possible, can you point me to the right way, please :slight_smile:

Thanks in advance
Michael

Hi,

It is possible. Configure you REST servlet to handle the more specific URL pattern. When patterns overlap, the most specific one is picked. (/rest is more specific than /*).