Currently I have the following project structure:
packages:
- view
- controller
- service
- model
- repository
- config
- util
The view package contains the view classes of Vaadin.
Example case: I would like to retrieve some data from mongoDB database after clicking a button. The way to retrieve the data from MongoDB database could be MainView <-> Controller <-> Service <-> Repository, right?
Actually I am not sure how to structure my project. Could someone help me please?