host.addChild(root);
Context examples = embedded.createContext("/examples",
home + "/webapps/examples");
customize(examples); // Special customization for this web-app
host.addChild(examples);
// As an alternative to the three lines above, there is also a very
// simple method to deploy a new application that has default values
// for all context properties:
// String contextPath = ... context path for this app ...