View RSS Feed

Recent Blogs Posts

  1. Get the info of a socket

    by , 05-16-2012 at 01:50 AM
    This program reads a list of hostnames from the command-line, attempts to open a socket to each host, and then prints to the remote host, the remote port, and the local address, and the local port.

    ** Happy Coding**

    * Get the info of a socket
    public class SocketInfo{
    public static void main(String[] args){
    for(int index=0; index<args.length; index++){ ...
  2. RMI vs. Sockets and Object Serialization

    by , 04-25-2012 at 11:15 PM
    RMI or Remote Method Invocation is that Java system which is used to create the applications which are distributed object based. Given formula could be used to express the RMI that uses object serialization extensively.

    Remote method invocation = Sockets + Object Serialization + Some Utilities
    Compiler & RMI registry are utilities to generate the skeletons & stubs.

    If you are aware of RMI then you would definitely know that it is a very simple task to ...