You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VaadinSpringTips.asciidoc 930B

1234567891011121314151617181920212223242526
  1. ---
  2. title: Vaadin Spring Tips
  3. order: 46
  4. layout: page
  5. ---
  6. [[vaadin-spring-tips]]
  7. Vaadin Spring tips
  8. ------------------
  9. [[vaadin-spring-boot-configuration-properties]]
  10. Vaadin Spring (Boot) configuration properties
  11. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12. Your project, if generated by `start.spring.io`, contains a configuration
  13. file `src/main/resources/application.properties` or similar YAML
  14. configuration file. It is a handy way to configure the VaadinServlet
  15. that is automatically introduced by Vaadin Spring. Here are couple of
  16. example which can be configured:
  17. * `vaadin.servlet.productionMode=true`
  18. * `vaadin.servlet.heartbeatInterval=60`
  19. * `vaadin.servlet.closeIdleSessions=true`
  20. For full list of available properties, see
  21. https://github.com/vaadin/spring/blob/master/vaadin-spring-boot/src/main/java/com/vaadin/spring/boot/internal/VaadinServletConfigurationProperties.java[VaadinServletConfigurationProperties].