if (sessionBean.getLocalHome() != null) continue;
if (sessionBean.getBusinessLocal().size() > 0) continue;
if (sessionBean.getBusinessRemote().size() > 0) continue;
// Ok, delete away...
ejbJar.removeEnterpriseBean(ejbName);
openejbJar.removeEjbDeployment(ejbDeployment);
// As well, let's get rid of any transaction or security attributes
// associated with the bean we just deleted.
AssemblyDescriptor assemblyDescriptor = ejbJar.getAssemblyDescriptor();