Discussions

EJB design: how to start telnet through applet

  1. how to start telnet through applet (3 messages)

    I request the members to please guide me as to how initilise a telnet session from a applet to connect a remote host;
  2. Look into APache Telnet Client, Hope it solves your problem...
  3. Remember though that applet sandbox restrictions forbid you to communicate with any server other than the one the applet was fetched from (unless signing the applet). /Niklas
  4. if the host to which you want to open the telnet session is not the one from which the applet was loaded then you have to either * sign your applet (and every user must then confirm that they trust you as a provider) * tunnel your telnet traffic through a gateway located on the server which serves the applet. The first solution is more simple but required each user to perform a supplemental action and wouldn't work with firewalls The second solution is more challenging but is transparent for the user and passes through firewalls if you tunnel your telnet traffic over HTTP. Cheers, Emil Kirschner.