• 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

Submission jar - any particular name?

 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. Did your requirements mention any particular name for the submission jar? My only says that it has to be a jar and mentions what it must have in its root.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I named my submission jar like described in ScjdFaq. If I remember correctly, this was mentioned on web page where you could upload your assignment (but this was before the acquisition by Oracle)
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Roel.
Now we are supposed to send the assignments by email (lol!). Can anyone who did it already and passed tell which naming convention they used?

Regards,
Raf
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok I just did what you did, Roel. Thanks for the tip!
 
Ranch Hand
Posts: 221
Scala Python Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raf,

I named mine PROMETRICID_SCJD_Carlos_Morillo.jar.

I also have in all my source code files my Prometric ID and the Sun ID that I have
in the Certification Manager Sun Database.

HTH,

Carlos.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raf Szczypiorski wrote:Hi. Did your requirements mention any particular name for the submission jar? My only says that it has to be a jar and mentions what it must have in its root.



Hi, in my requirements it says in the deliverables section: "The executable JAR containing the programs. This must be called runme.jar". Do you have something similar in yours?

It also says that I should send the above jar by email to developer-submit_US@oracle.com

I read in the SCJD FAQ in this website that you should use a website to upload your jar and use a specific naming standard for it, which confused me. I assume the procedure to send the deliverables has changed, or maybe it is different for each assignment?

Thanks,
Luis


 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My assignment has this (if I may to quote it here):
All elements of your submission must be packaged in a single JAR file. The JAR file must have the following layout and contents in its root: [...]
Nothing about a name. Also, I downloaded my assignment last summer but started working on it only this may, so it was before the Oracle / Sun merger and I don't have the email mentioned there.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Luis,

Welcome to JavaRanch!

You'll have to create 2 jars: the runme.jar (which should be an executable jar which is capable of launching your application in 3 modes) and a submission jar (containing all files you need to submit as described in your instructions).

Before the acquisition of Sun by Oracle you had to upload your jar through a website, now you have to send it to some email address.

Kind regards,
Roel
 
Luis Cabral
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Roel,

Thanks for the warm welcome!

Roel De Nijs wrote:
You'll have to create 2 jars: the runme.jar (which should be an executable jar which is capable of launching your application in 3 modes) and a submission jar (containing all files you need to submit as described in your instructions).



Thanks also for pointing this out! At first I thought everything should go inside the runme.jar but after re-reading it with more care I see that the runme.jar should go inside another jar, which is the one I should send to them. The instructions however do not give details on how that other jar should be called. I hope this is the only thing I misread in my assignment...!

Another thing that still is not clear to me is this:

The JAR file must have the following layout and contents in its root:
...
- A directory called docs, containing the following items at the top level:
- These instructions.
...


Do you know what they mean with "these instructions"? The whole assigment instructions? What should it be called, instructions.txt?

Cheers,
Luis
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For me it is instructions.html and that's what I copy there.
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raf Szczypiorski wrote:For me it is instructions.html and that's what I copy there.


That will do the job.

And Luis, I created a ant build (with test case) to create the submission jar (with small modifications according to your instructions). You'll find the link in the ScjdFaq
 
Luis Cabral
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Raf

Raf Szczypiorski wrote:For me it is instructions.html and that's what I copy there.



When I purchased the SCJD exam (2 weeks ago) I was presented with an web page with the said instructions and a link for a file called 111.zip. The only thing inside that file was the database file (db-1x1.db). I didn't see any instructions.html...

Fortunately I saved that web page and I will rename it and add it to my submission. I hope it will be fine but I am still a bit confused...!

Roel -- thanks for sending the link for the ant build, it works perfectly!

Thanks,
Luis
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Luis Cabral wrote:Roel -- thanks for sending the link for the ant build, it works perfectly!


Not a problem. In the pre-Oracle days you got a JAR file (the assignment.jar in the build script) which contained instructions.html and a database file. And this jar file was used to extract the original database file and the original instructions.html, but apparently they don't do that anymore
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And so I submitted the assignment jar and have to wait for the results. I would like to thank all who answered my questions, particularly, as usual, Roel and Roberto, but others as well.
 
Bartender
Posts: 2292
3
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raf Szczypiorski wrote:And so I submitted the assignment jar and have to wait for the results. I would like to thank all who answered my questions, particularly, as usual, Roel and Roberto, but others as well.



Howdy, Raf!

Well champion, I wish you very good luck! Pretty soon, you'll also be part of our "SCJD Champions" club!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic