File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes B&S: GUI for server? 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 "B&S: GUI for server?" Watch "B&S: GUI for server?" New topic
Author

B&S: GUI for server?

Jan Kokenberg
Greenhorn

Joined: Dec 23, 2005
Posts: 3
Dear all,

After reading a lot of topics here on JavaRanch I still have on question which is kind of bothering me... Do we really need a GUI for the server part of the assignment?

I'm using RMI and I've 'semi' hardcoded the port number the server uses. With this I mean that the server port used is set in the suncertify.properties file (standard 1109), but there is no interface to change this. I figured that since this is the standard RMI port why not use it? I've also hardcoded that the database file should be located in the user.dir.

As far as I've been able to tell there is no requirement that states that you should provide a GUI for the server, but maybe I've missed it and it's hiding between the lines... Could somebody shed some light on this for me?
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11278
    
  59

Hi Jan,

Welcome to JavaRanch and this forum.

Do your instructions have the following line (or something similar) in them:
the program must allow the user to specify the location of the database
If so - are you assuming that this only applies to the client application?

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Jan Kokenberg
Greenhorn

Joined: Dec 23, 2005
Posts: 3
Originally posted by Andrew Monkhouse:
Hi Jan,

Welcome to JavaRanch and this forum.

Do your instructions have the following line (or something similar) in them: If so - are you assuming that this only applies to the client application?

Regards, Andrew


Hi Andrew,

Yes the assigment does have a line like that. That was one of the things that started me thinking about my whole server approach. But on the other hand, I'm convinced that a server should not have to be used through a graphical user interface. A server (in my opinion) is a daemon process that runs in the background.

I have been working on the assignment yesterday and I've written a small GUI for the server which lets the server itself keep running when the GUI is closed (but there is a button to 'savely' stop the server).

Thanks for the reply.
HaoZhe Xu
Ranch Hand

Joined: Nov 03, 2003
Posts: 222
As you have to carefully consider each 'must' case, I suggest you read your assignment again and find out are there any 'must' for GUI specification. If there's not, then you may but you don't need to use GUI for server.

My suggestion is, if you won't get more error using GUI, then you'd better use it, as it's easy for user to control and easy to trace exceptions.

Yours Sincerely
Olnex


[url]Olnex.net[/url]
[SCJP 1.2, SCJD, SCWCD]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: B&S: GUI for server?
 
Similar Threads
I am close to submit - question about suncertify.properties
About stop the RMI server
Don't understand mode flag
NX:Some Questions(URLyBird1.3.2)
NX: Spec Confusion