aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes GUI for the server-application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "GUI for the server-application?" Watch "GUI for the server-application?" New topic
Author

GUI for the server-application?

Andy Jung
Ranch Hand

Joined: Feb 07, 2010
Posts: 150
Hi partners,

how did you guys realize configuration input for the server application?
Did you generate an own GUI (like proposed by Camerlengo&Monkhouse) or did you just rely on the command line, because it cannot be guaranteed,
that GUI is working (for instance on UNIX systems without a X-Server)?

What does the assignment require for URLyBird ?

Kind regards,
Andy

SCJP, SCJD
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4908
    
  10

Hi Andy,

I created a ServerWindow (where you can enter configuration settings and where you can stop the serverà , Roberto just showed a dialog for configuration settings and the dialog disappears and the server keeps running without GUI.

Kind regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2246

Exactly!

But, you know... I was thinking... Roel opted for showing a window after the server is running, so the user can stop it by clicking a button. In my case, the server is stopped by pressing Ctrl + C on the console. Roel's score in the GUI criteria was 40. Do you guys think that maybe this has something to do? I mean, building a window so the user can stop the server by clicking a button can help getting a better score in the GUI criteria?


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Andy Jung
Ranch Hand

Joined: Feb 07, 2010
Posts: 150
... having a server window, which does not disappear is actually not a bad idea.
Besides having a button to stop the server you can do some other nice stuff (all not required by the assignment, however),
for instance displaying a table with the ip's of all clients currently connected to the server etc. ...

But seriously I think this is the better approach,
because if you offer a GUI for the server to set configurations you should also offer a GUI to stop the server and not require the user
to use keystrokes on the console.
This would be a break in user interface conformity.
This is why Roel got 40 points in the GUI category maybe.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 4908
    
  10

Andy Jung wrote:This is why Roel got 40 points in the GUI category maybe.

I guess I got the 40 points because it was a simple, easy-to-extend and highly restrictive user interface which offers the user a consistent experience during the complete application. Besides that the code is easy understandable and maintainable, even by a junior developer. I did not use any icons or other fancy stuff.
That would be all the pros of my GUI and I can't think of a con (besides it looks a bit "old" and outdated)

Kind regards,
Roel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: GUI for the server-application?
 
Similar Threads
Logging
Problem with selectManyListbox
URLyBird Server & DB shutdown
Where to put the Server GUI
suncertify. properties -- Network / non-networked mode