Connect to a remote server

Hi All,

I want to connect to a remote UNIX server by Java program. I have the server IP.

How can i do this? What Java class or methods should i use?

Can any one give pointers to this? It will be of great help if i can have some sample codes for reference.

Thanks in advance!!

[306 byte] By [atanu.123a] at [2007-11-27 7:13:29]
# 1
I assume that you are trying to make a connection to make HTTP requests. Then I would use the Apache Jakarta Commons HttpClient package. http://jakarta.apache.org/commons/httpclient/
tolmanka at 2007-7-12 19:04:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Can you please refer to any sample code? I am not sure how to begin with.
atanu.123a at 2007-7-12 19:04:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Tutorial from that site: http://jakarta.apache.org/commons/httpclient/tutorial.html
DrClapa at 2007-7-12 19:04:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
To connect to an UNIX server will we follow the same http client. Or else there is any other way
atanu.123a at 2007-7-12 19:04:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...