Document webAppDoc = db.parse(webXmlStream);
webXmlStream.close();
webXmlStream = null;
WebDescriptorHandler webHandler = WebDescriptorHandler.getInstance();
webHandler.assemble(webAppDoc, ejbInfo, ejbLinkValue);
// overwrite existing web.xml file with new document
writeXML(cac, webAppDoc, webXmlFile);
}
catch(IOException ioe) {