First of all Iwould to thank the Vaadin team for their great job. I was looking for a long time for a web application framework suitable for Java developrs and avoiding ugly HTML scripting. Finally, I discovered Vaadin. Thanks!
So far, I could solve all my problems searching this forum, but i did not succeed in finding an answer to the follwoing
Question:
My colleague is developing a website using wordpress. And its my job to include a Vaadin application into this website. Now, the problem is not really related to WordPress, but to publishing an HTML Page in one environment, call it Environment-One, and the Vaadin application in another environment, call it Environment-Two.
So far, i tried to check this scenario on my computer: Environment-One is an Apache Xampp, Environment-Two is an independently running Tomcat. I took the intial HTML-Page produced by the vaadin servlet as template for my HTML page. Every thing is perfect, when I deploy this HTML page to Environment-Two, together with the Vaadon application.
But when I try deploy the HTML page to Environment-One, running Xampp, the widgetsets cannot be found.
I already tried the following: First, I copied the widgetset to Environment-One. This did not work, so I changed the src-attributes calling Vaadin resources (Java Script, stylesheets, etc.) to the URL pointing to Environment-Two. this did not work either.
No my questions are:
Is it possible to run Vaadin applications in the described scenario?
What do I have to deploy to Environment-One?
How should my initial HTML page look like, so that widgetsets are found, and the Vaadin application in Environment-Two will be contacted?
Thanks in advance for your help!