Element entity = (Element)itr.next();
sb.append("\t<weblogic-enterprise-bean>\n");
sb.append("\t\t<ejb-name>").append(entity.elementText("ejb-name")).append("</ejb-name>\n");
if (entity.elementText("display-name").endsWith("LocalManagerEJB")) {
sb.append("\t\t<local-jndi-name>ejb/liferay/").append(entity.elementText("display-name")).append("Home</local-jndi-name>\n");
}
else {
sb.append("\t\t<jndi-name>").append(entity.elementText("ejb-name")).append("</jndi-name>\n");
}