// (Home Interface) create() public ITipologiaContratti create(String strNOM_TPL_CON) throws CreateException { TipologiaContrattiBean bean = new TipologiaContrattiBean(); try { Object primaryKey = bean.ejbCreate(strNOM_TPL_CON); bean.setEntityContext(new EntityContextWrapper(primaryKey)); bean.ejbPostCreate(strNOM_TPL_CON); return bean; } catch (Exception ex) { throw new javax.ejb.CreateException(ex.getMessage()); } }