the server push the gui client

Discussions

General J2EE: the server push the gui client

  1. the server push the gui client (2 messages)

    hello
    i use the swing write the client-side console,but this client side console fuction not as normal,it don't receive info ACTIVATELY, it works as a monitor to superwise other computer(i call it server),the server push data to the client-side console,that means the swing client PASSIVATELY get info,one info item arrived,the one item is displayed on a table within the client console.
    who can tell me,what's the better solution to my requirement,socket or rmi?and how?

    thank you very much!

    Threaded Messages (2)

  2. I prefer to use Socket[ Go to top ]

    You just push some data,so need not RMI.Simply use UDP is ok.
  3. Push[ Go to top ]

    http://www.pushlets.com/

    Also, there is an apache mod.

    HTH,
    sv