public void save() throws AppCatalogException {
EntityManager em = null;
try {
em = AppCatalogJPAUtils.getEntityManager();
ApplicationOutput existingApplicationOutput = em.find(ApplicationOutput.class,
new AppOutput_PK(interfaceID, outputKey));
em.close();
em = AppCatalogJPAUtils.getEntityManager();
em.getTransaction().begin();
if (existingApplicationOutput != null) {