I have one WAR file containing (in essence) two web applications, each with their own URLs, though sharing a majority of the code from front end to back end. One app is a “lite” version of the other. In Vaadin 6, loading each “app instance” was handled manually depending on the URL provided (altering one Application class).
In Vaadin 7, perhaps to do things a little differently, there are choices:
- each app having it’s own VaadinServlet with URL mapping and UI.
- each app having it’s own UI under a UIProvider, under one VaadinServlet.
- both apps sharing a UI, altering the view contents depending on URL (same as before).
Are there obvious reasons or major pros/cons for choosing one architecture over the others?
Thanks for any comments,
susan