0 Replies Latest reply on Apr 30, 2002 6:40 AM by saint1

    Try to connect a factServer from a  SessionBean

    saint1

      Hello,

      i try to get a connection to a Server from a Stateful SessionBean, but i get only null for the handle.

      Isnt it possible to get a connection to another Server from a SessionBean?

      the methods from my SessionBean:

      public boolean connectToFactServer(String host, String port, String servername, String clientname) {
      System.out.println("Connect to FactServer!");

      wp.connect(host, port, servername, clientname);
      return true;
      }

      public boolean disconnectFromFactServer() {
      System.out.println("Disconnect from FactServer!");

      wp.disconnect();

      return true;
      }

      regards
      Pierre