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