SCJP 1.4<br />SCJD <br />SCWCD (Studying)
Kang Wang<br />SCJP, SCWCD, SCJD (great thanks to the ranchers)
SCJP 1.4<br />SCWCD 1.3<br />SCJD<br />SCBCD<br />IBM Xml Cert in progress
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
SCJP, SCJD, SCWCD, SCBCD
SCJP 1.4, SCJD
42
Originally posted by John Smith:
David: My network server was extremely simple, maybe too simple. It was only a few lines of code with no methods in it except for the constructor. The constructor took in the database file location and then instantiated the RMI Remote Implementation reference, created the registry, and then bound the remote implementation to the registry.
The way I understand your server design is that the database file name must be specified at the time when the server is started. In other words, if the client wanted to connect to a database with a different name, the server would need to be restarted. If that's correct, I am speculating that it was the reason for a big deduction on the server design.
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used
Originally posted by John Smith:
The B&S requirements do not state that the database location must be configurable from the client and I do not believe this is common to mots people's designs
Do you have somthing like this in your requirements:
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
The way I understand your server design is that the database file name must be specified at the time when the server is started. In other words, if the client wanted to connect to a database with a different name, the server would need to be restarted. If that's correct, I am speculating that it was the reason for a big deduction on the server design.
My server design was a bit more flexible -- the client could specify any database file name on the remote server, and the server would connect, if such database file exists on the server.
"The UrlyBird catches the certificate. And he's gonna FlyByNight"<br /> <br />SCJP 1.2/5.0, SCJD, SCBCD, SCWCD, SCEA
Yes. When the server is started, you specify the database location. When you start the client, you specify the network location of the server. when started in local mode you just need to specify the database location.
The client never specifies the database location, just the IP address of the server.
the program must allow the user to specify the location of the database, and it must also accept an indication that a local database is to be used
This document deliberately leaves some issues unspecified, and some problems unraised. Your ability to think through these issues, in the face of realistically imperfect specifications, and come to a tenable solution is something upon which you are being graded.
It's just a matter of interpretation of course, but I think if you document your decision with reasonable supporting arguments, they can't punish you with a deduction as large as the one David got.
Originally posted by David Sham:
...but I think that my low score in that area might be due to the fact that I did not implement this functionality, but allowed for everything else (switching modes, switching servers in remote mode, and switching database locations in local mode).
scja|scjp|scjd|scwcd|scbcd|scdjws|scmad
Originally posted by Uwe Sch�fer:
is this switching stuff really necessary ? i fail to see requirements leading to this decision from all i have read so far.
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
is this switching stuff really necessary ? i fail to see requirements leading to this decision from all i have read so far.
Well, I am not sure about the idea that those posting here are "typically puffed up about their code", but I would agree that most (if not all) the posters (and lurkers) in this forum go beyond requirements in one or more areas.Originally posted by Jack Gold:
There are alot of experienced ranchers who return to the forum to show us their solutions and offer advice, but often it seems they have developed beyond the scope of the current requirements.
While the forum is useful, the downside is that everyone has differnt requirements and the people who are most vocal about their solution are typically puffed up about their code which goes beyond the basic requirements.
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
SCJP 1.4<br />SCJD <br />SCWCD (Studying)
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
I love a good mentalist. And so does this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|