IHardTokenSessionLocalHome hardtokensessionhome = (IHardTokenSessionLocalHome) lookup("java:comp/env/ejb/HardTokenSessionLocal",IHardTokenSessionLocalHome.class);
IHardTokenSessionLocalHome hardtokensessionhome = (IHardTokenSessionLocalHome) getLocator().getLocalHome(IHardTokenSessionLocalHome.COMP_NAME);
    private IHardTokenSessionLocal getHardTokenSession() {        if(hardtokensession == null){          try{            IHardTokenSessionLocalHome hardtokensessionhome = (IHardTokenSessionLocalHome) lookup("java:comp/env/ejb/HardTokenSessionLocal",IHardTokenSessionLocalHome.class);            hardtokensession = hardtokensessionhome.create();          }catch(Exception e){             throw new EJBException(e);          }        }        return hardtokensession;    } //getHardTokenSession