I'm developing a mobile app and i have a Java Spring Boot as a backend and i have some REST endpoints. Also i have a web ui interface for some functionalities. I use http requests to the rest controllers from mobile device it's ok but in Vaadin View classes should i use Controller classes or Service classes directly.
I use service classes directly in the Vaadin Views but something seems not right for me but i couldnt figure out. structure