aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes How friendly are they when running my submission? 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 "How friendly are they when running my submission?" Watch "How friendly are they when running my submission?" New topic
Author

How friendly are they when running my submission?

Petr Blahos
Ranch Hand

Joined: Apr 28, 2004
Posts: 131
Hi all,
(from instructions:
Portions of your submission will be analyzed by software; where a specific spelling or structure is required, even a slight deviation could result in automatic failure.)
I have a sort of a worry about the Data class. Well, sun requires me
to implement the Data class, but it does not specify how the class
should be instantiated. How are they going to run any automatic
tests if they don't know how to create the Data object?!? The
instruction don't tell anything specific about the subject
and that worries me. Any opinions?
Another slightly related thing: how do you specify the data file
for the server? I am implementing a piece of UI for that purpose
but a server running swing?!?
I am also a worried about RMI. As far as I understand, rmiregistry
must have classpath set to my project in order to register my remote
objects. Does anybody know what their setup is? Will they let me
start rmiregistry from my code? Or will they run it with the classpath
set or am I missing something?
Thanks very much for any help with these issues.
Best regards,
Petr
Philippe Maquet
Bartender

Joined: Jun 02, 2003
Posts: 1872
Hi Petr,
Welcome to the ranch and this forum!
(from instructions:
Portions of your submission will be analyzed by software; where a specific spelling or structure is required, even a slight deviation could result in automatic failure.)
I have a sort of a worry about the Data class. Well, sun requires me
to implement the Data class, but it does not specify how the class
should be instantiated. How are they going to run any automatic
tests if they don't know how to create the Data object?!? The
instruction don't tell anything specific about the subject
and that worries me. Any opinions?

You don't need to worry about that IMO, as far as your method signatures are OK with the provided interface.
Instructions don't mention anything about constructors anyway.
Another slightly related thing: how do you specify the data file
for the server? I am implementing a piece of UI for that purpose
but a server running swing?!?

I think you have no other choice:
Instructions:
All configuration must be done via a GUI, and must be persistent between runs of the program. Such configuration information must be stored in a file called suncertify.properties which must be located in the current working directory.

I let the RMI question for an RMI specialist...
Regards,
Phil.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11509
    
  95

Hi Petr,
Welcome to JavaRanch and this forum.
I am also a worried about RMI. As far as I understand, rmiregistry
must have classpath set to my project in order to register my remote
objects. Does anybody know what their setup is? Will they let me
start rmiregistry from my code? Or will they run it with the classpath
set or am I missing something?

Yes, you are allowed to start the registry from your code, and this is the way that most people write their server for this assignment.
Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How friendly are they when running my submission?