Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
MAX session limit for single module application
Hi,
I new to Vaadin framework. I began with a single module application project.
Question:
How can I set a concurrency-control with max session property.
This project doesnt have any web.xml.
I really appreciateit if anyone can help.
I'm not sure what you mean by concurrency-control and max session property. Do you by any chance mean the session-timeout as in http://stackoverflow.com/questions/15382895/session-timeout-in-web-xml?
Anyway, you can always create the web.xml file in the src/main/webapp/WEB-INF directory and it should be picked automatically by web container. For example:
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
version="3.1">
<session-config>
<session-timeout>-1</session-timeout>
</session-config>
</web-app>