To enable WADI for your webapplication, create a Geronimo web descriptor file called
WEB-INF/geronimo-web.xmlin your war and include the following contents:
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/jetty-1.0"
configId="YOUR-CONFIG-ID">
<context-root>/YOUR-CONTEXT</context-root>
<context-priority-classloader>false</context-priority-classloader>
<session-manager>org.codehaus.wadi.jetty5.JettyManager</session-manager>
</web-app>
A full description of each element of this descriptor can be found at the Geronimo "Deployment" wiki entry. In summary, you should replace:
com/acme/Foo
The line highlighted in red above is the line which will configure WADI for your webapplication, so you should include it as-is in your geronimo-web.xml file
Now, follow the instructions at Geronimo "Deployment" to deploy your WADI-enabled webapplication in Geronimo.
TODO - a full list of dependencies for WEB-INF/lib or as <dependency> entries in geronimo-web.xml