• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server GUI

 
Ramesh kumaar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have a GUI to start the server, through this the user can enter the port number, db file name. I have a "Start" button to start the server, "Stop" button which does the database locking(i.e lock(-1)), and a "Exit" to quit the application. Here my doubt is should I rename the stop button as "DBLOCK" or shall I keep it as it is, because actually "Stop" button only lock(write lock) the db.
Please give me ur valid comments and ideas on the above.
thanks,
-rameshkumar
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are complicating your own life, and the life of your assessor. Server GUI has no value whatsoever in the context of this assignment. It can only hurt you, because the score that you get is based on simplicity and reusability of your design. Consider this: your server GUI may not even be able to run on certain servers, -- the physical servers are not designed/configured to display GUIs. And take a look at the actual industrial strength application servers, such as Weblogic and iPlanet, -- they run from the command line! If that's not enough, note that I had no server GUI and I got a full score for my server design. So, next time you think of adding a "Show Nice Fireworks" button next to your Start/Stop buttons, think again.
Here are other things not to do.
Eugene.
[ February 13, 2003: Message edited by: Eugene Kononov ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like a server GUI because it cleanly closes the Registry, and allows for some flexibility, meaning you can add your online help here, and the user doesn't have to hit CTRL-C.
But it is possible to make it more complicated and lose points, and you won't gain points with a GUI.
But still I think it is a very easy thing to include and done correctly does not take much work at all.
Mark
 
Ramesh kumaar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Eugene Kononov,
Thanks for ur comment, any how still iam going to have a server GUI.
-rameshkumar
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A server with a GUI is broken IMNSHO, because it effectively means that your server is restricted to local operation on Windows boxes or non-headless Unix servers. This is deeply wrong. As a matter of principle, server software should be capable of started remotely on rack-mounted Windows machines and big-iron Unix servers that might well be headless.
This is a religious issue for me. One of the banes of my life is a piece of *($&"^! server software that requires an X server to run. This currently runs on a Unix server that doesn't even have a graphics card, and for some reason I can't get the virtual framebuffer server to compile. So it's currently pointed at an X terminal somewhere, and this has given me LOTS AND LOTS of grief over time. Anyone writing cross-platform server software that requires a GUI to run should be sh... I mean re-educated.
- Peter
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well Peter that's what you get for using UNIX, and also for not havinga good X Windows.
But if I am mistaken, which I am very often. But Oracle has a Server GUI for its database. called Enterprise Manager or DBA Studio. You can shutdown a database from there.
Mark
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's nothing wrong with offering a GUI for system management -- to the contrary. But there's everything wrong with being dependent on a GUI to keep on running in the first place. Oracle has some nice GUI tools but doesn't require them. The very same server I was talking about runs a fat Oracle 8i database, and that has never gone down because someone accidentally killed the X terminal box.
- Peter
[ February 16, 2003: Message edited by: Peter den Haan ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic