0 Replies Latest reply on Jan 22, 2009 7:07 AM by Lilantha Heenatigala

    org.omg.CORBA.ORBClass

    Lilantha Heenatigala Newbie

      is there a way to connect to jboss server as follows ???? following code is for sybase EA server

      Properties props = new Properties();
      props.put("org.omg.CORBA.ORBClass", "com.sybase.CORBA.ORB");
      ORB orb = ORB.init(new String[] {}, props);
      Manager manager = ManagerHelper.narrow(orb.string_to_object(server));
      String encryptedPassword = JCrypt.crypt(user, password);
      Session tmpSession = manager.createSession(user, encryptedPassword);
      UserManager userMgr = UserManagerHelper.narrow(tmpSession.create("Here i put my jndi look up"));
      String sessionId = userMgr.login();
      session = manager.createSession(user, sessionId);


      if this is possible how? wt are the jars needed.