keyrecoverydatahome = (KeyRecoveryDataLocalHome) lookup(KeyRecoveryDataLocalHome.COMP_NAME, KeyRecoveryDataLocalHome.class);
keyrecoverydatahome = (KeyRecoveryDataLocalHome) getLocator().getLocalHome(KeyRecoveryDataLocalHome.COMP_NAME);  ILogSessionLocalHome logHome = (ILogSessionLocalHome) getLocator().getLocalHome(ILogSessionLocalHome.COMP_NAME); logsession = logHome.create();  ICertificateStoreSessionLocalHome storeHome = (ICertificateStoreSessionLocalHome) getLocator().getLocalHome(ICertificateStoreSessionLocalHome.COMP_NAME); certificatestoresession = storeHome.create();  ISignSessionLocalHome signsessionhome = (ISignSessionLocalHome) getLocator().getLocalHome(ISignSessionLocalHome.COMP_NAME); signsession = signsessionhome.create();
    public void ejbCreate() throws CreateException {        debug(">ejbCreate()");        try {            keyrecoverydatahome = (KeyRecoveryDataLocalHome) lookup(KeyRecoveryDataLocalHome.COMP_NAME,                    KeyRecoveryDataLocalHome.class);            debug("<ejbCreate()");        } catch (Exception e) {            throw new EJBException(e);        }    }