aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Server side gui? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Server side gui?" Watch "Server side gui?" New topic
Author

Server side gui?

Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
Hi,
Is anyone doing a gui for the server side? Just curious...
Aruna.


Aruna A. Raghavan<br />SCJP, SCJD, SCWCD
Daniela Ch
Ranch Hand

Joined: Dec 13, 2002
Posts: 96
do a search on "server gui"
I know Mark did...
Aruna Raghavan
Ranch Hand

Joined: May 14, 2002
Posts: 194
Daniela,
Thanks for your email the other day.
I just read the requirements again. It does not appear to be necessary to do a GUI for the server.
Have you done it?
Aruna.
Daniela Ch
Ranch Hand

Joined: Dec 13, 2002
Posts: 96
no...
ppl do a gui on the server to be able to execute some code before it shuts down...
how do you stop your server?
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Warning: my not-too-subtle opinion on this matter has been influenced by real-world experiences with server systems that had a GUI.
My advice would be not to implement a server GUI. The reasons are
  • Contrary to popular belief, GUIs are in many cases (including this one) not more user-friendly than text interfaces. They are more beginner-friendly, but that is something different altogether. It never fails to amaze me that in this industry "user-friendly" and "beginner-friendly" are so often confused.
  • Servers should be scriptable so that they can be started, stopped and managed automatically. Scripting a GUI is hard or impossible.
  • On Unix systems, a GUI requires the presence of an X server. A lot of serious server iron does not even have a graphics card, let alone an X server. And I can tell you from bitter experience that simply pointing the server at an external X workstation is a bad, bad idea.
  • For these reasons, if there is a GUI, it should be optional. Full stop. And that is likely to be more trouble than you want to go through.
    - Peter
     
    Don't get me started about those stupid light bulbs.
     
    subject: Server side gui?