aspose file tools*
The moose likes Java in General and the fly likes network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "network" Watch "network" New topic
Author

network

vijay B
Greenhorn

Joined: Nov 07, 2000
Posts: 3
what's the difeference between http connection,socket connection RMI connection. how to make these connections in java
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Java only supports network connections via two protocols: TCP/IP and UDP. HTTP is a transfer protocol used to send and recieve data once a connection has been established (FTP is another common transfer protocol). When creating sockets in Java, if you are using datagram sockets, your protocol is UDP. Otherwise, your protocol is TCP/IP.
I don't know much about RMI, but it is my understanding that RMI manages the network layer for you. You have to create the client and server, but once you do that and register the applications, you just make method calls like the methods were local, and RMI deals with the sending and recieving of serialized objects via your network connection.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: network