This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes network Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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
 
Similar Threads
connection
J2ee app gets stuck at a stored procedure call
Try/catch variable scope
enterprise application with many users
jdo and eclipse