servlet.init(config);
Registry registry = RegistryBuilder.constructDefaultRegistry();
ApplicationInitializer ai = (ApplicationInitializer) registry.getService(
"tapestry.init.ApplicationSpecificationInitializer",
ApplicationInitializer.class);
ai.initialize(servlet);
ApplicationGlobals ag = (ApplicationGlobals) registry.getService(
"tapestry.globals.ApplicationGlobals",
ApplicationGlobals.class);