• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using Socket

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have read my topic discussing usage of RMI. Actaully, is there's anyone using socket instead? Why RMI is so popularly be used?
In my design, running of ther server side only need to use command-line instruction. Is any GUI required for the server side?
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by James Lee:
I have read my topic discussing usage of RMI. Actaully, is there's anyone using socket instead? Why RMI is so popularly be used?

Very few opt for sockets. My assessment at the time was that, if you would choose to use sockets, you would find yourself essentially doing all the things that RMI does for you. And a good programmer is a lazy programmer

In my design, running of ther server side only need to use command-line instruction. Is any GUI required for the server side?

You don't need a server-side GUI. In fact I think it's a positively bad idea -- in the real world, server applications often run on Unix servers that do not necessarily have a graphical (X11) display.
In fact I personally have had lots of of grief with a (non-Java) server application that insisted on having an X11 server to talk to. For some reason a dummy X11 server would not build on the machine, so we used an X11 terminal. Whenever anyone switched it off, deliberately or by bumping into it, the whole back-end would go down with it. The whole miserable episode was concluded only when we shoved a graphics card in the server. Grrrrr.
But that is entirely by the by Peter's tip for the day is: if your server does not absolutely need a GUI, make sure that it supports GUI-less operation.
- Peter
 
James Lee
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
THX for your opinion
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic