connection b/w Ui and Java file

How to excute HTML file in Vaadin? And How to give connection b/w java file and html file?

What exactly are you trying to achieve and which version of Vaadin are you using?