Multiple VaadinServlet

Is there ever a situation where more than one VaadinServlet’s would be defined for a Vaadin Application?

Are there problems with doing something like the following:

@WebServlet(urlPatterns = "/VAADIN/*")
public static class RootVaadinServlet extends VaadinServlet {}

@WebServlet(urlPatterns = {"/myui/*“}, asyncSupported = true)
@VaadinServletConfiguration(ui = MyUI.class, productionMode = false)
public static class MyUIServlet extends VaadinServlet {}

@WebServlet(urlPatterns = {"/addressbook/*"}, asyncSupported = true)
@VaadinServletConfiguration(ui = AddressbookUI.class, productionMode = false)
public static class MyUIServlet extends VaadinServlet {    }

The reason I ask is because when I try something like this there seems to be a ‘Communication Problem’.



Communication problem
Take note of any unsaved data, and click here or press ESC to continue.
(SyntaxError) : Unexpected token <- Original JSON-text: html>