Vaadin multi module with Spring

Hi,

I have a standard multi module vaadin 8 project and I want to add spring to manage my data with repositories.

Is it possible to use spring-data only in my data module or do I need to add the entire vaadin-spring addon?

Is it better to use spring boot on the parent or on each module? I am a beginner with Spring.

Here is my module hierarchy (as the vaadin multi module archetype)

parentModule

  • production
  • model
  • ui
  • widgetset

Thx for the advices.