Re: java (338 Views)
Reply
Frequent Advisor
Posts: 143
Registered: ‎12-09-2002
Message 1 of 2 (338 Views)

java

hi
does any one know how to write a java program that telnet a unix server from Winnt2000.
i know how to write such kind of application using VB+activeX, but no idea with java.
please it 's very urgent
Valued Contributor
Posts: 342
Registered: ‎08-17-2002
Message 2 of 2 (338 Views)

Re: java


Hi,

You can telnet from a java program and execute commands remotley. That means you need java.net and java.rmi.
net: networking package
rmi: remote method invocation package

First refer to this:
http://java.sun.com/j2se/1.4.1/docs/api/index.html


also:
http://www.jscape.com/inetfactory/

There are Telnet client Applets written in Java. Maybe you can use one.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.