restartApplication when embedding

Hi,
I am embedding my Vaadin webapp into a PHP webpage.
Is there a way I can force restart the Vaadin application?
I need this to verify the code changes

Thank you.