public void save() throws AppCatalogException {
EntityManager em = null;
try {
em = AppCatalogJPAUtils.getEntityManager();
HostAlias existingHostAlias = em.find(HostAlias.class, new HostAliasPK(resourceID, alias));
em.close();
em = AppCatalogJPAUtils.getEntityManager();
em.getTransaction().begin();
ComputeResource computeResource = em.find(ComputeResource.class, resourceID);