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.
yes, you should be able to do that. You can configure production mode to be enabled in a configuration file (usually web.xml, but this depends - it could also be e.g. your spring config file), or directly in code with the @VaadinServletConfiguration annotation. See https://vaadin.com/docs/-/part/framework/application/application-environment.html for details.