code: private void writeEjbModule(String filename) {
          Element element = writeModule();
          Element ejb = doc.createElement("ejb");
          element.appendChild(ejb);
          ejb.setTextContent(filename);
      }
docs: Writes WEB part to application.xml.
  
  @param filename name of module