storesessionhome = (ICertificateStoreSessionHome) javax.rmi.PortableRemoteObject.narrow(ctx.lookup("CertificateStoreSession"), IUserAdminSessionHome.class);
storesessionhome = (ICertificateStoreSessionHome) javax.rmi.PortableRemoteObject.narrow(ctx.lookup("CertificateStoreSession"), ICertificateStoreSessionHome.class);
  public void init(ServletConfig config) throws ServletException  {    super.init(config);    try {      // Install BouncyCastle provider      Provider p = new org.bouncycastle.jce.provider.BouncyCastleProvider();      int result = Security.addProvider(p);      // Get EJB context and home interfaces      ctx = new InitialContext();      signsessionhome = (ISignSessionHome) PortableRemoteObject.narrow(ctx.lookup("RSASignSession"), ISignSessionHome.class);      adminsessionhome = (IUserAdminSessionHome) javax.rmi.PortableRemoteObject.narrow(ctx.lookup("UserAdminSession"), IUserAdminSessionHome.class);      storesessionhome = (ICertificateStoreSessionHome) javax.rmi.PortableRemoteObject.narrow(ctx.lookup("CertificateStoreSession"), IUserAdminSessionHome.class);    } catch (Exception e) {      throw new ServletException(e);    }  }