• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

readme.txt and designchoices.txt

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello everybody,
I have a few questions
1) Can I assume that they have a working verion of JDK installed and they know how to do it?
Do I have to tell them how to install the jdk version and create a JAVA_HOME variable etc.?
2)I saw from this forum that everybody is doing a client.jar and server.jar portnumber...etc..to execute. I did not see this as a requirement for 1.2 certification. Is anybody doing it the other way..like typing in the codebase, security policy path on the command line? Has somebody done it this way and passed? I personally dont see anything wrong in doing it the command line way, but doesn't seem like anybody is done it that way.
3) for design choices.txt, I am describing in 1-2 lines what I did on the server side and the client side. Is that okay?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Prakash,
1) You can assume they know about the JDK and also
know how to install a JDK. You don't need to
describe how to install a JDK.
2) I had only one jar file for the fly by night
application. That jar file were embeded in
another jar file with all the other things,
like my documentation.
3) 1-2 lines is not enough. My design choices
document was about 3 pages long - text only.
Regards
Kenneth Christensen
SCJP & SCJD
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I had only one jar file for the fly by night
application. That jar file were embeded in
another jar file with all the other things,
like my documentation.


Oh no, I am not talking about the uploaded project. I am sorry I wasn't clear about this. The instructions are pretty clear about this that there should only be one Jar file uploaded. I am doing the same thing, having a project.jar and a client.jar and server.jar nested in that.
My question is more like when executing the server.jar and client.jar, lot of people have done java -jar client.jar and java -jar server.jar.
This is very easy for the examiner, but at the same time, my instructions do not say anything like this. I skimmed through the instructions for java 1.4 SCJD and I think, this was in the instructions. My question was
1) Why are so many people doing it this way in 1.2 certification then?
2) Has anybody done the execution the other way, from command line, and passed?
 
Kenneth Christensen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe I wasn't clear enough about my jar file
I had only one jar file for the java application.
The name of that jar file is: flybynight.jar
This is taken from my readme.txt file:
----
EXECUTE PROGRAM
---------------
{} = optional.
Launch server without GUI client:
java -jar flybynight.jar server=<database file> {port}=<port number>
Launch server with GUI client:
java -jar flybynight.jar server=<database file> {port}=<port number> gui=true
Launch local:
java -jar flybynight.jar local=<database file>
Launch remote client:
java -jar flybynight.jar remote=<server url> {port}=<port number>
Launch GUI startup:
java -jar flybynight.jar (local and remote can be started from the GUI startup)
----
As you can see, I did not have a server.jar or
client.jar file.
About question no. 1:
I don't know. But there is nothing wrong in doing
a server.jar and client.jar.
About question no. 2:
As you can see, I have done the execution in
another way and I passed.
Regards
Kenneth Christensen
SCJP & SCJD
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dont understand how to do it through jar files. Like the way you did it. What about the command line arguments for the codebase and stuff, do you put that in a manifest file or something like that?
Like, when you start the server you need the codebase, security policy path and things like that..how did you manage to do that?
 
Kenneth Christensen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You don't need a codebase and the security stuff.
First of all, if you have a security manager in
your code, remove it. It's not needed and it's not
a requirement.
The codebase is only needed if you want to handle
dynamic classloading. It's not a requirement to
handle dynamic classloading.
Regards
Kenneth Christensen
SCJP & SCJD
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're only allowed to use one parameter to start your app. And that parameter is the mode of the application local or remote. All other info URL, port, filenames,...,etc. should be donde via GUI.
 
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bartolo Almeda:
You're only allowed to use one parameter to start your app. And that parameter is the mode of the application local or remote. All other info URL, port, filenames,...,etc. should be donde via GUI.


you're assuming new exam, many people still have the old exam, and in the new exam theres no mention of readme.txt
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bartolo,
I checked through my requirements and it does not say anything like that, so you probaly are talking about the new version.
If it is a new exam the subject of this thread would be prefixed with a NX:
 
reply
    Bookmark Topic Watch Topic
  • New Topic