To integrate GWT and Tapestry, we're using separate projects in Eclipse.
One for GWT code (uses Ant as build tool) and the other for Tapestry (Maven
based).

I looked at maven-gwt a few months back and I decided against using it,
because it didn't seem easy to use, give a big enough benefit for learning
it and it appeared to be in experimental stage.

We build the projects into .war's
Project 1 (GWT)      -->  project1gwt.war
Project 2 (Tapestry) -->  project2tap.war

The public/project1gwt.html file is embedded in a tapestry .tml page (within
a template).

To pass parameters from Tapestry to GWT, the values are embedded in the
Tapestry page in:
<div id="entityID">345</div>

GWT (1.5.2, this code varies between versions) can then extract those using
String value = RootPanel.get("entityID").getElement().getString();

To test (integration test level), we use JBoss 4.2.2, which gives dynamic
.war reloading (unlike plain Tomcat) and good logging out the box.

Szemere

Reply via email to