Coming from the JSP world, what is the equivalent way of developing and reusing header and footer components/views?
So if I want some sort of navigation at the top (which might include/use other pieces depending on received clicks), and then say a “standard” footer with things like “Help”, “Contact”, etc… how do I do this with Vaadin?
I know I can use something like BorderLayout, but if I want to resuse header and footer elements across the application, how would I accomplish this?
As I don’t know what your requirement is just go with what is best for your App. At an high level, this is how your app layout would look like -
HeaderLayout
View Layout
FooterLayout
Where HeaderLayout usually consists of all your components like app name, navigation bar etc etc kind of stuff, on click of which an appropriate view layout would be rendered and Footer layout consists messages like copyright, version of app etc.
Coming to ViewLayout which would technically be a floating layout, where content is rendered based on URI fragment.